SCRIPT ARRAY MENGGUNAKAN C++
Assalamualaikum w.wb selamat pagi teman-teman . saya akan upload script tentang array , dan langsung aja kita coba membuat scriptnya yaa .. source code : #include <iostream.h> #include <stdio.h> #include <conio.h> #include <iomanip.h> #include <string.h> main( ) { int x ,a ,ulangi; char jenis[6] = {'D','d','P','p','S','s'} ,*ket[6]; long bapot[6], jumhar[6] = {0}, hasat[6] = {2500 ,2000 ,1500}; long jumbar[6]= {0}, pajak[6], totba[6]; pesan: clrscr( ); cout<<"\tGEROBAK FRIED CHICKEN\n"; cout<<"\t---------------------\n"; cout<<"\t Kode Jenis Harga\n"; cout<<"\t---------------------\n"; cout<<"\t [D] Dada Rp. 2500\n"; cout<<"\t [P] Paha Rp. 2000\n"; cout<<"\t [S] Sayap Rp. 1500\n\n"; cout<<"\t---------------------\n\n"; cout<<"\tBanyak Jenis : &