# include <iostream.h>
# include <conio.h>
void main ()
{
int nilai;
clrscr();
cout << " masukan nilai anda : ";
cin >> nilai;
cout << " anda mendapatkan nilai " << nilai << endl;
cout << " apakah anda puas mendapatkan nilai ? " << nilai;
getch();
}
output
masukan nilai anda : 100
anda mendapatkan nilai 100
apakah anda puas mendapatkan nilai ? 100
Friday, 13 January 2012
CPP
0 Response to "contoh 18"
Post a Comment