skip to main
|
skip to sidebar
scriptprogramer
Program and Sample here
Pages
Forum
Search Script This Blog
Wednesday, June 11, 2014
Program Menampilkan defenisi variabel C++
#include <iostream.h>
#include <conio.h>
void main()
{
char
x
;
//pendefinisian variabel
x
x
= 'A';
//penugasan ‘A’ ke variabel
x
cout<<"Isi
x
= "<<
x
<<endl;
x
=
77
;
cout<<"Isi
x
= "<<
x
<<endl;
getch();
}
Outputnya:
Newer Post
Older Post
Home
Copyright ©
scriptprogramer
Blogger Theme
by
BloggerThemes
Design by
Diovo.com