A. PROGRAM
IF
//CODING
PROGRAM
#include
#include
void
main()
{
int usia,tinggi;
cout<<"===---------------**---------------===
\n";
cout<<"
Program Ketentuan Naik Roller Coster";
cout<<"\n===---------------**---------------===
\n\n";
cout<<"Masukan usia
Anda: ";
cin>>usia;
cout<<"tinggi badan
Anda :";
cin>>tinggi;
if ((usia>12)&&(tinggi>100))
cout<<"Maka Anda
boleh naik roler koster :)";
else
cout<<"Maka Anda
dilarang naik roler koster :)";
getch();
}
//OUTPUT
PROGRAM
0 komentar:
Posting Komentar