VARIABEL

Leave a comment

Inilah Contoh Program Variabel :

#include <conio.h>
#include <stdio.h>
#include <iostream.h>
main ()
{
cout<<“Program sederhana C++”<<endl;
char a[9]=”18120130″;
char b[20]=”Ina Nurliana”;
char c[9]=”12.1H.25″;
char d[50]=”Jl.Ratna No.20A RT04/08 Kelurahan Kapuk”;
cout<<“NIM    : “<<a<<endl;
cout<<“Nama    : “<<b<<endl;
cout<<“Kelas    : “<<c<<endl;
cout<<“Alamat    : “<<d;
getche ();
}

 

Inilah hasil Outputnya :

 

#SEMOGA BERMANFAAT 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

me :)

Miss Moody

favorite song

Jam

Kalender ku

March 2017
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Masukkan alamat surat elektronik Anda untuk mengikuti blog ini dan menerima pemberitahuan tentang tulisan baru melalui surat elektronik.

Join 6 other followers

flag counter

%d bloggers like this: