Program Jadwal Keberangkatan Kereta Api Dari Stasiun Tugu


#include
int a;
void main(){
Kode_hari:
cout < < "Jadwal Pemberangkatan Kereta Api Dari Stasiun Tugu\n"; cout << "1. Senin \n"; cout << "2. Selasa \n"; cout << "3. Rabu \n"; cout << "4. Kamis \n"; cout << "5. Jumat \n"; cout << "6. Sabtu \n"; cout << "7. Minggu \n \n"; cout << "Masukkan pilihan Anda : "; cin >> a;
switch(a){
case 1: cout << "[Senin] 1. Fajar UT. [08.00 wib] 2. Argo Bromo [12.00 wib]\a\n\n"; break; case 2: cout << "[Selasa] 1. Argo Gede [06.00 wib] 2. Jaya Baya [08.00 wib]\a\n\n";break; case 3: cout << "[Rabu] 1. Argo Lawu [10.00 wib] 2. Argo Muria [13.00 wib] 3. Argo Wilis [15.00 wib]\a\n\n";break; case 4: cout << "[Kamis] 1. Parahyangan [07.00 wib] 2. Sanlaka [09.00 wib]\a\n\n";break; case 5: cout << "[jumat] 1. Senjut [08.00 wib] 2. Mahesa [10.00 wib]\a\n\n"; break; case 6: cout << "[Sabtu] 1. Fajar Ut. [06.00 wib] 2. Argo Lawu [10.00 wib]\a\n\n";break; case 7: cout << "[Minggu] 1. Jaya Baya [07.00 wib] 2. Argo Gede [10.00 wib]\a\n\n";break; } getch(); clrscr(); goto Kode_hari; }


5 responses to “Program Jadwal Keberangkatan Kereta Api Dari Stasiun Tugu”

Leave a Reply