Advertisement
mubaharu

Switch

Nov 15th, 2018
1,751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. cout<<"Masukkan Kode Kelas untuk "<<x<<" Mahasiswa : ";
  2.     cin>>e.kode_kelas[z];
  3.     switch(e.kode_kelas[z]){
  4.         case 106:
  5.             e.kelas[z] = "03TPLE006";
  6.         break;
  7.         default:
  8.             e.kelas[z] = "...";
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement