Uraian/Ringkasan
Contohnya program yang kali ini dibuat adalah tentang Pemesanan Pizza. Program ini adalah sebuah program layanan untuk pemesanan pizza pada toko FELAND PIZZA. Project Pemesanan Pizza ini ditujukan kepada suatau perusahaan yang berjalan dibidang layanan pemesanan. Sebelum ke programnya, kalian harus tau pembahasan dibawah ini.Pada program ini terdapat 3 pilihan pada menu utama, yaitu :
1. Booking Tempat
Menu ini dipilih ketika customer ingin memesan/booking tempat makan.
2. Delivery
Menu ini dipilih ketika customer akan memesan/membeli pizza.
3. Info Pemesanan
Menu ini dipilih ketika customer memerlukan informasi tentang toko serta kontak toko yang bisa dihubungi.
Pada menu Booking Tempat, customer harus mengisi data-data sebagai berikut :
No. Meja : …
Nama Pemesan : …
Hari/Tanggal(DD/MM/YYYY) : …
Waktu : …
Banyak Meja/Kursi : …
Uang Muka : …
Pada menu Delivery, customer harus mengisi data-data sebagai berikut :
No. Pesan : …
Nama Pemesan : …
Banyak Jenis Pizza : …
Customer bisa memesan lebih dari satu jenis pizza, dengan masing-masing jenis pizza bisa dipesan sesuai dengan porsi yang diinginkan.
Pada menu Info Pemesanan, customer bisa melihat jam kerja dari toko FELAND PIZZA serta kontak toko yang bisa dihubungi.
Program
Yuk langsung saja ke syntak programnya.// Diharapkan bisa memahami setiap perintah dibawah ini
Program ini dibuat Oleh Fika Felanda Ardelia, follow akun instagramnya di @fikafelandar
1. Syntak Program
#include <iostream //sarjanabersama.com
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string.h>
#include <time.h>
using namespace std;
void gotoxy(int x, int y){
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
}
void delay(unsigned int mseconds)
{
clock_t goal=mseconds+clock();
while(goal>clock());
}
int main(int argc, char** argv) {
int layanan;
int nm,um;
char np[20],ht[20],wkt[5],bmk[8],ulg;
awal:
system("cls");
gotoxy(15,3);cout<<"::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(15,4);cout<<"::'':: LAYANAN ::''::"<<endl;
gotoxy(15,5);cout<<"::'':: FELAND PIZZA ::''::"<<endl;
gotoxy(15,6);cout<<"::''::----------------------------------::''::"<<endl;
gotoxy(15,7);cout<<"::'':: Layanan yang Tersedia : ::''::"<<endl;
gotoxy(15,8);cout<<"::'':: 1. Booking Tempat ::''::"<<endl;
gotoxy(15,9);cout<<"::'':: 2. Delivery ::''::"<<endl;
gotoxy(15,10);cout<<"::'':: 3. Info Pemesanan ::''::"<<endl;
gotoxy(15,13);cout<<":: Silahkan Pilih Layanan [1/2/3] : ";cin>>layanan;
system("cls");
int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"^_^ L O A D I N G ^_^";
}
system("cls");
switch(layanan){
case 1:
system("cls");
gotoxy(26,8);cout<<"Booking Tempat FELAND PIZZA"<<endl;
gotoxy(10,9);cout<<"::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(10,10);cout<<":: No.Meja : ";cin>>nm;
gotoxy(10,11);cout<<":: Nama Pemesan : ";cin>>np;
gotoxy(10,12);cout<<":: Hari/Tanggal(DD/MM/YYYY) : ";cin>>ht;
gotoxy(10,13);cout<<":: Waktu : ";cin>>wkt;
gotoxy(10,14);cout<<":: Banyak Meja/Kursi : ";cin>>bmk;
gotoxy(10,15);cout<<":: Uang Muka : ";cin>>um;
gotoxy(10,16);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
system("cls");
int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"Sedang Di Proses ^_^";
}
system("cls");
gotoxy(28,6);cout<<"Bukti Booking Tempat "<<endl;
gotoxy(32,7);cout<<"FELAND PIZZA "<<endl;
gotoxy(15,8);cout<<"::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(15,9);cout<<"=============================================="<<endl;
gotoxy(15,10);cout<<"No.Meja : "<<nm<<endl;
gotoxy(15,11);cout<<"Nama Pemesan : "<<np<<endl;
gotoxy(15,12);cout<<"Hari/Tanggal(DD/MM/YYYY) : "<<ht<<endl;
gotoxy(15,13);cout<<"Waktu : "<<wkt<<endl;
gotoxy(15,14);cout<<"Banyak Meja/Kursi : "<<bmk<<endl;
gotoxy(15,15);cout<<"Uang Muka : "<<um<<endl;
gotoxy(15,16);cout<<"=============================================="<<endl;
gotoxy(15,17);cout<<"*nb : Silahkan Kembali pada Hari/Tanggal, "<<endl;
gotoxy(15,18);cout<<" Waktu dan Tempat yang Telah Tercantum!"<<endl;
gotoxy(15,19);cout<<"*CP : +6281209xxxxxx"<<endl;
gotoxy(20,22);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
goto awal;
for (i=5;i<31;i++)
{
delay(100);
gotoxy(i-1,60);cout<<' ';
gotoxy(i,60);cout<<"TERIMA KASIH";
}
if(ulg=='Y'||ulg=='y')
goto awal; //utk kembali kemenu awal
else
goto tengah;
tengah:
break;
case 2 :
char nama[10],*jenis[10],kopiz[10][10],lagi;
int a,b,harga[10],qty[10],no,bayar;
long sub[10],kembali;
long totbay;
atas:
system("cls");
//int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"SELAMAT DATANG DI FELAND PIZZA";
}
system("cls");
gotoxy(10,8);cout<<" Delivery FELAND PIZZA"<<endl;
gotoxy(10,9);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
gotoxy(10,10);cout<<":: No.Pesan : ";cin>>no;
gotoxy(10,11);cout<<":: Nama Pemesan : ";cin>>nama;
gotoxy(10,12);cout<<":: Banyak Jenis Pizza : ";cin>>b;
gotoxy(10,13);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
system("cls");
cout<<"\n\n Daftar Pizza "<<endl;
cout<<" Delivery FELAND PIZZA "<<endl;
cout<<" |===========================================================| "<<endl;
cout<<" | No. | Kode | Nama | Harga | "<<endl;
cout<<" | | Pizza | Pizza | Pizza | "<<endl;
cout<<" |===========================================================| "<<endl;
cout<<" | 1. | BR | Beef Royale | Rp. 75.000,- | "<<endl;
cout<<" | 2. | CC | Chicken Cheese | Rp. 55.000,- | "<<endl;
cout<<" | 3. | MC | Mushroom Crazy | Rp. 50.000,- | "<<endl;
cout<<" | 4. | CRC | Crazy Cheese | Rp. 65.000,- | "<<endl;
cout<<" | 5. | TDN | Tuna DOC Crazy | Rp. 80.000,- | "<<endl;
cout<<" |===========================================================| "<<endl;
for(a=1;a<=b;++a) {
cout<<"\n\n Pizza Ke "<<a<<endl;
cout<<" Kode Pizza [BR/CC/MC/CRC/TDN] : ";cin>>kopiz[a];
cout<<" Jumlah Pesan : ";cin>>qty[a];
if(strcmp(kopiz[a],"BR")==0||strcmp(kopiz[a],"br")==0) {
jenis[a]="Beef Royale";
harga[a]=75000;}
else if(strcmp(kopiz[a],"CC")==0||strcmp(kopiz[a],"cc")==0) {
jenis[a]="Chicken Cheese";
harga[a]=55000;}
else if(strcmp(kopiz[a],"MC")==0||strcmp(kopiz[a],"mc")==0) {
jenis[a]="Mushroom Crazy";
harga[a]=50000;}
else if(strcmp(kopiz[a],"CRC")==0||strcmp(kopiz[a],"crc")==0) {
jenis[a]="Crazy Cheese";
harga[a]=65000;}
else if(strcmp(kopiz[a],"TDN")==0||strcmp(kopiz[a],"tdn")==0) {
jenis[a]="Tuna DOC Crazy";
harga[a]=80000;}
else {
cout<<"Maaf, Kode Yang Anda Inputkan SALAH!"<<endl;
goto atas;
}
}
system("cls");
cout<<"\n\n Bukti Pemesanan Pizza "<<endl;
cout<<" Delivery FELAND PIZZA "<<endl;
cout<<" ::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
cout<<" No.Pesan : "<<no<<endl;
cout<<" Nama Pemesan : "<<nama<<endl;
cout<<" ======================================================================="<<endl;
cout<<" No. Jenis Harga Jumlah Subtotal "<<endl;
cout<<" Pizza Pizza Pesan "<<endl;
cout<<" ======================================================================="<<endl;
//12345678901234567890123456789012345678901234567890123456789012345678901234567890
// 1 2 3 4 5 6 7 8
totbay=0;
for(a=1;a<=b;++a) {
gotoxy(20,a+10); cout<<a;
gotoxy(24,a+10); cout<<jenis[a];
gotoxy(44,a+10); cout<<harga[a];
gotoxy(58,a+10); cout<<qty[a];
sub[a]=harga[a]*qty[a];
gotoxy(70,a+10); cout<<sub[a];
cout<<endl;
totbay=totbay+sub[a];
}
cout<<"\n =======================================================================\n"<<endl;
cout<<" Total Bayar :Rp. "<<totbay<<endl;
tb:
cout<<" Uang Bayar :Rp. ";cin>>bayar;
kembali=bayar-totbay;
if (bayar<totbay) {
cout<<"Maaf Uang Anda Kurang!!!"<<endl;
goto tb;
}
else {
cout<<" Uang Kembali :Rp. "<<kembali<<endl; }
cout<<"Input data lagi [Y]/[T]? :";cin>>lagi;
//gotoxy(15,20);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
for (i=5;i<31;i++)
{
delay(100);
gotoxy(i-1,60);cout<<' ';
gotoxy(i,60);cout<<"TERIMA KASIH";
}
//if(ulg=='Y'||ulg=='y')
// goto awal; //utk kembali kemenu awal
// else
// goto akhir;
//akhir:
if(lagi=='Y'||lagi=='y')
goto atas; //utk kembali kemenu awal
else
goto awal;
selesai:
break;
case 3 :
system("cls");
gotoxy(3,3);cout<<"::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(3,4);cout<<":: INFO PEMESANAN ::"<<endl;
gotoxy(3,5);cout<<":: FELAND PIZZA ::"<<endl;
gotoxy(3,6);cout<<"::----------------------------------------------------------------------::"<<endl;
gotoxy(3,7);cout<<":: ::"<<endl;
gotoxy(3,8);cout<<":: 1. Waktu pemesanan dapat dilakukan pada : ::"<<endl;
gotoxy(3,9);cout<<":: = Senin-Jumat, 07.00-18.00 ::"<<endl;
gotoxy(3,10);cout<<":: = Sabtu-Minggu, 07.00-21.00 ::"<<endl;
gotoxy(3,11);cout<<":: 2. Pemesanan dapat dilakukan melalui Email dan Telepon ::"<<endl;
gotoxy(3,12);cout<<":: 3. Setiap Delivery yang masuk akan kami konfirmasi melalui Telepon. ::"<<endl;
gotoxy(3,13);cout<<":: Delivery tidak akan kami proses, jika kami tidak dapat ::"<<endl;
gotoxy(3,14);cout<<":: menghubungi pemesan melalui nomor Telpon yang ditinggalkan. ::"<<endl;
gotoxy(3,15);cout<<":: ::"<<endl;
gotoxy(3,16);cout<<":: IG : @felandpizza | fb : /felandpizza ::"<<endl;
gotoxy(3,17);cout<<":: LINE : feland.pizza | WA : +6281275xxxx ::"<<endl;
gotoxy(3,18);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
gotoxy(10,21);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
if(ulg=='Y'||ulg=='y')
goto awal; //utk kembali kemenu awal
else
exit(0);
//akhir:
break;
}
getch();
return 0;
;}
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string.h>
#include <time.h>
using namespace std;
void gotoxy(int x, int y){
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
}
void delay(unsigned int mseconds)
{
clock_t goal=mseconds+clock();
while(goal>clock());
}
int main(int argc, char** argv) {
int layanan;
int nm,um;
char np[20],ht[20],wkt[5],bmk[8],ulg;
awal:
system("cls");
gotoxy(15,3);cout<<"::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(15,4);cout<<"::'':: LAYANAN ::''::"<<endl;
gotoxy(15,5);cout<<"::'':: FELAND PIZZA ::''::"<<endl;
gotoxy(15,6);cout<<"::''::----------------------------------::''::"<<endl;
gotoxy(15,7);cout<<"::'':: Layanan yang Tersedia : ::''::"<<endl;
gotoxy(15,8);cout<<"::'':: 1. Booking Tempat ::''::"<<endl;
gotoxy(15,9);cout<<"::'':: 2. Delivery ::''::"<<endl;
gotoxy(15,10);cout<<"::'':: 3. Info Pemesanan ::''::"<<endl;
gotoxy(15,13);cout<<":: Silahkan Pilih Layanan [1/2/3] : ";cin>>layanan;
system("cls");
int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"^_^ L O A D I N G ^_^";
}
system("cls");
switch(layanan){
case 1:
system("cls");
gotoxy(26,8);cout<<"Booking Tempat FELAND PIZZA"<<endl;
gotoxy(10,9);cout<<"::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(10,10);cout<<":: No.Meja : ";cin>>nm;
gotoxy(10,11);cout<<":: Nama Pemesan : ";cin>>np;
gotoxy(10,12);cout<<":: Hari/Tanggal(DD/MM/YYYY) : ";cin>>ht;
gotoxy(10,13);cout<<":: Waktu : ";cin>>wkt;
gotoxy(10,14);cout<<":: Banyak Meja/Kursi : ";cin>>bmk;
gotoxy(10,15);cout<<":: Uang Muka : ";cin>>um;
gotoxy(10,16);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
system("cls");
int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"Sedang Di Proses ^_^";
}
system("cls");
gotoxy(28,6);cout<<"Bukti Booking Tempat "<<endl;
gotoxy(32,7);cout<<"FELAND PIZZA "<<endl;
gotoxy(15,8);cout<<"::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(15,9);cout<<"=============================================="<<endl;
gotoxy(15,10);cout<<"No.Meja : "<<nm<<endl;
gotoxy(15,11);cout<<"Nama Pemesan : "<<np<<endl;
gotoxy(15,12);cout<<"Hari/Tanggal(DD/MM/YYYY) : "<<ht<<endl;
gotoxy(15,13);cout<<"Waktu : "<<wkt<<endl;
gotoxy(15,14);cout<<"Banyak Meja/Kursi : "<<bmk<<endl;
gotoxy(15,15);cout<<"Uang Muka : "<<um<<endl;
gotoxy(15,16);cout<<"=============================================="<<endl;
gotoxy(15,17);cout<<"*nb : Silahkan Kembali pada Hari/Tanggal, "<<endl;
gotoxy(15,18);cout<<" Waktu dan Tempat yang Telah Tercantum!"<<endl;
gotoxy(15,19);cout<<"*CP : +6281209xxxxxx"<<endl;
gotoxy(20,22);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
goto awal;
for (i=5;i<31;i++)
{
delay(100);
gotoxy(i-1,60);cout<<' ';
gotoxy(i,60);cout<<"TERIMA KASIH";
}
if(ulg=='Y'||ulg=='y')
goto awal; //utk kembali kemenu awal
else
goto tengah;
tengah:
break;
case 2 :
char nama[10],*jenis[10],kopiz[10][10],lagi;
int a,b,harga[10],qty[10],no,bayar;
long sub[10],kembali;
long totbay;
atas:
system("cls");
//int m,i;
for(m=1;m<20;m++)
{
delay(120);
gotoxy(m-1,3);cout<<' ';
gotoxy(m,3);cout<<"SELAMAT DATANG DI FELAND PIZZA";
}
system("cls");
gotoxy(10,8);cout<<" Delivery FELAND PIZZA"<<endl;
gotoxy(10,9);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
gotoxy(10,10);cout<<":: No.Pesan : ";cin>>no;
gotoxy(10,11);cout<<":: Nama Pemesan : ";cin>>nama;
gotoxy(10,12);cout<<":: Banyak Jenis Pizza : ";cin>>b;
gotoxy(10,13);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
system("cls");
cout<<"\n\n Daftar Pizza "<<endl;
cout<<" Delivery FELAND PIZZA "<<endl;
cout<<" |===========================================================| "<<endl;
cout<<" | No. | Kode | Nama | Harga | "<<endl;
cout<<" | | Pizza | Pizza | Pizza | "<<endl;
cout<<" |===========================================================| "<<endl;
cout<<" | 1. | BR | Beef Royale | Rp. 75.000,- | "<<endl;
cout<<" | 2. | CC | Chicken Cheese | Rp. 55.000,- | "<<endl;
cout<<" | 3. | MC | Mushroom Crazy | Rp. 50.000,- | "<<endl;
cout<<" | 4. | CRC | Crazy Cheese | Rp. 65.000,- | "<<endl;
cout<<" | 5. | TDN | Tuna DOC Crazy | Rp. 80.000,- | "<<endl;
cout<<" |===========================================================| "<<endl;
for(a=1;a<=b;++a) {
cout<<"\n\n Pizza Ke "<<a<<endl;
cout<<" Kode Pizza [BR/CC/MC/CRC/TDN] : ";cin>>kopiz[a];
cout<<" Jumlah Pesan : ";cin>>qty[a];
if(strcmp(kopiz[a],"BR")==0||strcmp(kopiz[a],"br")==0) {
jenis[a]="Beef Royale";
harga[a]=75000;}
else if(strcmp(kopiz[a],"CC")==0||strcmp(kopiz[a],"cc")==0) {
jenis[a]="Chicken Cheese";
harga[a]=55000;}
else if(strcmp(kopiz[a],"MC")==0||strcmp(kopiz[a],"mc")==0) {
jenis[a]="Mushroom Crazy";
harga[a]=50000;}
else if(strcmp(kopiz[a],"CRC")==0||strcmp(kopiz[a],"crc")==0) {
jenis[a]="Crazy Cheese";
harga[a]=65000;}
else if(strcmp(kopiz[a],"TDN")==0||strcmp(kopiz[a],"tdn")==0) {
jenis[a]="Tuna DOC Crazy";
harga[a]=80000;}
else {
cout<<"Maaf, Kode Yang Anda Inputkan SALAH!"<<endl;
goto atas;
}
}
system("cls");
cout<<"\n\n Bukti Pemesanan Pizza "<<endl;
cout<<" Delivery FELAND PIZZA "<<endl;
cout<<" ::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
cout<<" No.Pesan : "<<no<<endl;
cout<<" Nama Pemesan : "<<nama<<endl;
cout<<" ======================================================================="<<endl;
cout<<" No. Jenis Harga Jumlah Subtotal "<<endl;
cout<<" Pizza Pizza Pesan "<<endl;
cout<<" ======================================================================="<<endl;
//12345678901234567890123456789012345678901234567890123456789012345678901234567890
// 1 2 3 4 5 6 7 8
totbay=0;
for(a=1;a<=b;++a) {
gotoxy(20,a+10); cout<<a;
gotoxy(24,a+10); cout<<jenis[a];
gotoxy(44,a+10); cout<<harga[a];
gotoxy(58,a+10); cout<<qty[a];
sub[a]=harga[a]*qty[a];
gotoxy(70,a+10); cout<<sub[a];
cout<<endl;
totbay=totbay+sub[a];
}
cout<<"\n =======================================================================\n"<<endl;
cout<<" Total Bayar :Rp. "<<totbay<<endl;
tb:
cout<<" Uang Bayar :Rp. ";cin>>bayar;
kembali=bayar-totbay;
if (bayar<totbay) {
cout<<"Maaf Uang Anda Kurang!!!"<<endl;
goto tb;
}
else {
cout<<" Uang Kembali :Rp. "<<kembali<<endl; }
cout<<"Input data lagi [Y]/[T]? :";cin>>lagi;
//gotoxy(15,20);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
for (i=5;i<31;i++)
{
delay(100);
gotoxy(i-1,60);cout<<' ';
gotoxy(i,60);cout<<"TERIMA KASIH";
}
//if(ulg=='Y'||ulg=='y')
// goto awal; //utk kembali kemenu awal
// else
// goto akhir;
//akhir:
if(lagi=='Y'||lagi=='y')
goto atas; //utk kembali kemenu awal
else
goto awal;
selesai:
break;
case 3 :
system("cls");
gotoxy(3,3);cout<<"::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::''::"<<endl;
gotoxy(3,4);cout<<":: INFO PEMESANAN ::"<<endl;
gotoxy(3,5);cout<<":: FELAND PIZZA ::"<<endl;
gotoxy(3,6);cout<<"::----------------------------------------------------------------------::"<<endl;
gotoxy(3,7);cout<<":: ::"<<endl;
gotoxy(3,8);cout<<":: 1. Waktu pemesanan dapat dilakukan pada : ::"<<endl;
gotoxy(3,9);cout<<":: = Senin-Jumat, 07.00-18.00 ::"<<endl;
gotoxy(3,10);cout<<":: = Sabtu-Minggu, 07.00-21.00 ::"<<endl;
gotoxy(3,11);cout<<":: 2. Pemesanan dapat dilakukan melalui Email dan Telepon ::"<<endl;
gotoxy(3,12);cout<<":: 3. Setiap Delivery yang masuk akan kami konfirmasi melalui Telepon. ::"<<endl;
gotoxy(3,13);cout<<":: Delivery tidak akan kami proses, jika kami tidak dapat ::"<<endl;
gotoxy(3,14);cout<<":: menghubungi pemesan melalui nomor Telpon yang ditinggalkan. ::"<<endl;
gotoxy(3,15);cout<<":: ::"<<endl;
gotoxy(3,16);cout<<":: IG : @felandpizza | fb : /felandpizza ::"<<endl;
gotoxy(3,17);cout<<":: LINE : feland.pizza | WA : +6281275xxxx ::"<<endl;
gotoxy(3,18);cout<<"::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::"<<endl;
gotoxy(10,21);cout<<"Kembali Ke Menu Awal ? [Y/T] : ";cin>>ulg;
if(ulg=='Y'||ulg=='y')
goto awal; //utk kembali kemenu awal
else
exit(0);
//akhir:
break;
}
getch();
return 0;
;}
2. Copy dan Paste syntak tersebut kedalam aplikasi Dev atau Turbo C++, pahamilah setiap perintah program jika terjadi error, kalian pasti bisa mengatasinya.
Dengan pembuatan program Layanan Pemesanan Pizza ini diharapkan kepada sasaran dari tujuan pembuatan program ini dapat mempermudah penggunaan dalam memesan pizza dan meminimalisir biaya dan waktu.
Baiklah itu saja pembahasan kali ini mengenai Membuat Program Layanan Pemesanan Pizza di Bahasa Pemograman C++, ssemoga bermanfaat untuk kita semua khususnya bagi pembaca. Tetap semangat, pantang menyerah dan teruslah belajar dan terus belajar. Semoga sukses. Selamat mencoba. Terimakasih ...
Baca juga : Membuat Program Penyewaan Mobil di Bahasa Pemograman C++ dan C
Baca juga : Membuat Program Pegadaian di Bahasa Pemograman C++ dan C
0 Comments