Advertisement
JUN7

Mahasiswa menggunakan while-do (progam arjun ganteng)

Nov 13th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.64 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. using namespace std;
  4. int main()
  5. {
  6.  int b=1;
  7.  
  8. cout<<"               ________________________________ "<<endl;
  9. cout<<"              |                                |  "<<endl;
  10. cout<<"              |        BIODATA MAHASISWA       | "<<endl;
  11. cout<<"              |________________________________| "<<endl;
  12. cout<<"         "<<endl;
  13.  
  14.  while (b<=10){
  15.   cout<<b<<".  ======= Mahasiswa Mercu Buana ======= \nA. MASUKKAN NAMA : ALFATH ARJUN \nB. MASUKKAN NIM : 41519010048 \nC. MASUKKAN ALAMAT : JL. ASIA BARU \nD. MASUKKAN PROGAM STUDI : TEKNIK INFORMATIKA \nE. MASUKKAN TANGGAL LAHIR : 130601 \n";
  16.  b++;
  17.  }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement