Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- awal:
- cout<<"Masukkan jumlah mahasiswa : ";
- cin>>x;
- if(x<=5){
- cout<<"============================"<<endl;
- goto inputan;
- }
- else{
- cout<<"Mahasiswa Kebanyakan Oe Nanti Pusing!"<<endl;
- cout<<"Max 5 Aja Oe!"<<endl<<endl;
- goto awal;
- }
- //=============================================inputan
- inputan:
- for(int z=1;z<=x;z++){
- cout<<"Masukkan NIM Mahasiswa ke "<<z<<" : ";
- cin>>f[z].nim;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement