Oke kali ini, saya mempost tentang PBO yaa mungkin Kalian Ingin Belajar cara membuat sebuah program dan ini lah salah satu program dari Restaurant dan Bila ini Download saja Linknya
dan inilah salah satu Contohnya :
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int pilihan,harga,porsi;
char mkn;
cout<<" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"<<endl;
cout<<" "<<endl;
cout<<" RESTORAN SMKN 1 CIANJUR "<<endl;
cout<<" KELOMPOK : ANDHIKA PANDU "<<endl;
cout<<" RIVALDI DARMAWAN "<<endl;
cout<<" YONA APPRIATNA "<<endl;
cout<<" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"<<endl<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<" | Paket | Jenis Makanan | Harga |"<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<" | 1 | Nasi putih, Ayam Bakar, Pepsi | 26000 |"<<endl;
cout<<" | 2 | Nasi Goreng, Mie Goreng, Es Campur | 22000 |"<<endl;
cout<<" | 3 | Nasi putih, Sop Iga, es soda | 25500 |"<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<"Masukan Paket Pilihan Anda Anda :";
cin>>pilihan;
cout<<"\n";
cout<<"masukan jumlah porsi =";
cin>>porsi;
cout<<"\n";
cout<<" |---------------------------|"<<endl;
cout<<" | Maka Paket Pesanan Anda |\n";
cout<<" |---------------------------|"<<endl;
cout<<"\n";
if(pilihan==1)
{
cout<<"Paket 1 Nasi Putih, Ayam Bakar, Pepsi\n";
harga=26000*porsi;
}
else if(pilihan==2)
{
cout<<"Paket 2 Nasi Goreng, Mie Goreng, Es Campur\n";
harga=25000*porsi;
}
else if(pilihan==3)
{
cout<<"Paket 3 Nasi Putih, Sop Iga, Es Soda\n";
harga=25500*porsi;
}
cout<<"Dengan Harga="<<harga<<"\n\n";
cout<<"Apakah Anda Ingin Memesan Lagi (y/t) :";
cin>>mkn;
if (mkn=='y' || mkn=='Y')
main();
if (mkn=='t' || mkn=='T')
cout<<" "<<endl;
cout<<" |-----------------------------|"<<endl;
cout<<" | Terimkasih Telah Berkunjung |"<<endl;
cout<<" |-----------------------------|"<<endl;
{
getch();
system("pause");
return 0;
}
}
Download Scripnya
dan inilah salah satu Contohnya :
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int pilihan,harga,porsi;
char mkn;
cout<<" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"<<endl;
cout<<" "<<endl;
cout<<" RESTORAN SMKN 1 CIANJUR "<<endl;
cout<<" KELOMPOK : ANDHIKA PANDU "<<endl;
cout<<" RIVALDI DARMAWAN "<<endl;
cout<<" YONA APPRIATNA "<<endl;
cout<<" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"<<endl<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<" | Paket | Jenis Makanan | Harga |"<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<" | 1 | Nasi putih, Ayam Bakar, Pepsi | 26000 |"<<endl;
cout<<" | 2 | Nasi Goreng, Mie Goreng, Es Campur | 22000 |"<<endl;
cout<<" | 3 | Nasi putih, Sop Iga, es soda | 25500 |"<<endl;
cout<<" |---------------------------------------------------------------------------|"<<endl;
cout<<"Masukan Paket Pilihan Anda Anda :";
cin>>pilihan;
cout<<"\n";
cout<<"masukan jumlah porsi =";
cin>>porsi;
cout<<"\n";
cout<<" |---------------------------|"<<endl;
cout<<" | Maka Paket Pesanan Anda |\n";
cout<<" |---------------------------|"<<endl;
cout<<"\n";
if(pilihan==1)
{
cout<<"Paket 1 Nasi Putih, Ayam Bakar, Pepsi\n";
harga=26000*porsi;
}
else if(pilihan==2)
{
cout<<"Paket 2 Nasi Goreng, Mie Goreng, Es Campur\n";
harga=25000*porsi;
}
else if(pilihan==3)
{
cout<<"Paket 3 Nasi Putih, Sop Iga, Es Soda\n";
harga=25500*porsi;
}
cout<<"Dengan Harga="<<harga<<"\n\n";
cout<<"Apakah Anda Ingin Memesan Lagi (y/t) :";
cin>>mkn;
if (mkn=='y' || mkn=='Y')
main();
if (mkn=='t' || mkn=='T')
cout<<" "<<endl;
cout<<" |-----------------------------|"<<endl;
cout<<" | Terimkasih Telah Berkunjung |"<<endl;
cout<<" |-----------------------------|"<<endl;
{
getch();
system("pause");
return 0;
}
}
Download Scripnya
Is this a scam? Casino Guru - DRMCD
ReplyDeleteYes, the 세종특별자치 출장안마 casinos 거제 출장마사지 have all the 군산 출장안마 games but there is no 전라남도 출장샵 software to be found. No software to test them or even verify them yourself. 시흥 출장안마