Gays,,, ini adalah script buatan aq. ini adalah script dari program undian yang menampilkan hadiah sesuai dengan kode kupon tertentu ,,,, nah , penasaran kan dengan kode kuponnya,,,
dengan program ini juga kita dapat mengasah daya pikir kita dan dapat bermain teka-teki lho teman-teman,,,,,
Ayooo temukan kode kuponnya dan menangkan hadiahnya...
seru lho...
ets,,, tp hadiahnya dalam program z yach,,,, ^_^
#include<iostream.h>
#include<conio.h>
void main ()
{
int nomor_undian;
clrscr();
cout<< " **************************************************" <<endl;
cout<< " ## Undian Berhadiah Grand Prize Mobil BMW INOVA ##" <<endl;
cout<< " **************************************************" <<endl;
cout<< " " <<endl;
cout<< " ##**********************************************##" <<endl;
cout<< " Silahkan masukan nomor undian anda..... " <<endl;
cout<< " ##**********************************************##" <<endl;
cout<< " " <<endl;
cout<< " nomor undian : ";
cin>> nomor_undian;
//proses seleksi
if(nomor_undian==123)
cout<< "Laptop Acer"<<endl;
else if (nomor_undian==234)
cout<< "Ipad Phone"<<endl;
else if (nomor_undian==345)
cout<< "TV Thosiba"<<endl;
else if (nomor_undian==456)
cout<< "Lemari es LG"<<endl;
else if (nomor_undian==567)
cout<< "Sepeda Motor suzuki 125D"<<endl;
else if (nomor_undian==678)
cout<< "Yamaha Mio"<<endl;
else if (nomor_undian==789)
cout<< "Komputer PC DELL"<<endl;
else if (nomor_undian==99)
cout<< "Mobil BMW INOVA"<<endl;
else if (nomor_undian==1)
cout<< "Handphone"<<endl;
else if (nomor_undian==89)
cout<< "Tiket Liburan Ke hongkong"<<endl;
else
cout<< "Maaf Anda Belum Beruntung"<<endl;
getch();
}
by: karya ryry kelas MI BIS MALAM_jurusan Manajemen Informatika AMIK INTeL Com GLOBAL INDO KISARAN, SUMATERA UTARA





Tidak ada komentar:
Posting Komentar