Bagosep

Ceritanya Distro Sederhana With C++

Dec 9th, 2016
132
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "bagosep.h"
  2. int main()
  3. {
  4.  
  5.     introDistro();
  6.     cout<<"\n\n\t\tMasukan Nama Anda Sebelum Membeli = ";gets(nama);
  7.     system("CLS");
  8.     introDistro();
  9.     cout<<"\n\n\tSelamat Berbelanja Juragan "<<nama;
  10.     do{
  11.     if(pesan=="ya"){
  12.     introProduk();
  13.     }
  14.     cout<<"\n\n\tAnda Ingin Belanja Apa [Input listProduk / Nomer] = ";cin>>operatorku;
  15.     system("CLS");
  16.     menuProduk();
  17.     cout<<"\n\n\tAnda ingin Belanja yang Lain ? [ya/tidak] = ";cin>>pesan;
  18.     system("CLS");
  19.     }while(pesan=="ya");
  20.     nota();
  21.  
  22.     return 0;
  23. }
RAW Paste Data