Program C++: Penginputan NIM, Nama, Prodi
Screen Shot:
Script:
#include
<iostream.h>
#include
<conio.h>
void
main()
{
Int a;
char b[20],c[50]
cout<<”============LOG IN==========\n”;
cout<<”inputkan nama,NIM,danProdianda\n”;
cout <<”NIM
= “;
cin>>a;
cout <<”Nama
= “;
cin>>b;
cout <<”Prodi
= “;
cin>>c;
cout<<”============================\n”;
cout<<”============================\n”;
cout<<”Data Anda: \n”;
cout<<”NIM = “<<a<<endl;
cout<<”Nama=
“<<b<<endl;
cout<<”Prodi= “<<c<<endl;
getche();
}
0 comment:
Posting Komentar
Comment Here ^_^.....