#include<iostream.h>
#include<conio.h>
int main()
{
int pilih,sj;
char nama[20],jwb,yes,out,jawab;
coba_lagi:
cout<<"\t\tSelamat Datang di PolTek College Cirebon\n";
cout<<"\n\t______________________________________________________";
cout<<"\n\nSilahkan Cek In Terlebih Dahulu";
cout<<"\n\nSidik Jari : ";cin>>sj;
cout<<"Atas Nama ";
if(sj==11123)
{cout<<"Baehaqi"<<endl;}
else if(sj==11124)
{cout<<"Ahmad"<<endl;}
else if(sj==11125)
{cout<<"Faqih"<<endl;}
else if(sj==11126)
{cout<<"Fitri"<<endl;}
else if(sj==11127)
{cout<<"Fauziah"<<endl;}
else
{cout<<"Maaf, Anda Tidak Terdaftar Sebagai Mahasiswa Kami. Silahkan Untuk Mencobanya Lagi\n"<<endl;}
cout<<"\nLanjutkan Melihat?? Y/N ";
cin>>jawab;
cout<<"\n";
if( jawab == 'Y' || jawab == 'y')
goto Lanjutkan;
else if (jawab == 'N'||jawab == 'n')
goto coba_lagi;
clrscr;
Lanjutkan:
cout<<"Daftar Mata Kuliah Poltek College Cirebon";
cout<<"\n 1. Agama";
cout<<"\n 2. Algoritma Basic Programming";
cout<<"\n 3. Computer For Office";
cout<<"\n 4. Database";
cout<<"\n 5. Design Grafis";
cout<<"\n 6. English Conversation";
cout<<"\n 7. General English";
cout<<"\n 8. JAVA Mobile";
cout<<"\n 9. Pengenalan Hardware Software";
cout<<"\n10. Personal Development";
cout<<"\n\nMasukan Pilihan : ";
cin>>pilih;
clrscr();
if(pilih == 1)
{cout<<"Jam Masuk\t : 01:00 p.m "<< endl;
cout<<"Hari\t\t : Jum'at "<< endl;
cout<<"Dosen\t\t : Jaja Suteja "<< endl;
cout<<"Mata Kuliah\t : Agama "<< endl;}
else if(pilih == 2)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Rabu "<< endl;
cout<<"Dosen\t\t : Muhammad Erwanto "<< endl;
cout<<"Mata Kuliah\t : Algoritma Basic Programming"<< endl;}
else if(pilih == 3)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Senin "<< endl;
cout<<"Dosen\t\t : Endah Budiastuti "<< endl;
cout<<"Mata Kuliah\t : Computer For Office "<< endl;}
else if(pilih == 4)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Senin "<< endl;
cout<<"Dosen\t\t : Suhati Novalia "<< endl;
cout<<"Mata Kuliah\t : Database "<< endl;}
else if(pilih == 5)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Kamis "<< endl;
cout<<"Dosen\t\t : Agus Darmawan "<< endl;
cout<<"Mata Kuliah\t : Design Grafis "<< endl;}
else if(pilih == 6)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Kamis "<< endl;
cout<<"Dosen\t\t : Supriyanto "<< endl;
cout<<"Mata Kuliah\t : English Conversation "<< endl;}
else if(pilih == 7)
{cout<<"Jam Masuk\t : 09:30 a.m "<< endl;
cout<<"Hari\t\t : Jumat "<< endl;
cout<<"Dosen\t\t : Ijah Hadijah "<< endl;
cout<<"Mata Kuliah\t : General English "<< endl;}
else if(pilih == 8)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Sabtu "<< endl;
cout<<"Dosen\t\t : Raden Hendra Raharja "<< endl;
cout<<"Mata Kuliah\t : JAVA Mobile "<< endl;}
else if(pilih == 9)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Jumat "<< endl;
cout<<"Dosen\t\t : Asep Nurhidayat Sugiarto "<< endl;
cout<<"Mata Kuliah\t : Pengenalan Hardware Software "<< endl;}
else if(pilih == 10)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Sabtu "<< endl;
cout<<"Dosen\t\t : Sumanti Nur Alia"<< endl;
cout<<"Mata Kuliah\t : Personal Development "<< endl;}
else
{cout<<"Maaf, data yang anda masukkan tidak terdapat dalam list kami";}
cout<<"\n\nTerima Kasih.. Coba Lagi?? Y/N" ;cin>>jwb;
clrscr();
if(jwb == 'Y'||jwb == 'y' )
goto Lanjutkan;
else if (jwb == 'N'||jwb == 'n')
clrscr();
{
cout<<"PolTek College Cirebon";
goto logout; }
logout:
cout<<"\n\nTekan 'Yes' jika anda ingin Log out ";cin>>yes;
if(yes == 'Yes'||yes == 'yes'||yes == 'YES')
goto out;
out:
cout<<"\nAnda Berhasil Log out.. Terima Kasih..";
getch();
return 0;
}
#include<conio.h>
int main()
{
int pilih,sj;
char nama[20],jwb,yes,out,jawab;
coba_lagi:
cout<<"\t\tSelamat Datang di PolTek College Cirebon\n";
cout<<"\n\t______________________________________________________";
cout<<"\n\nSilahkan Cek In Terlebih Dahulu";
cout<<"\n\nSidik Jari : ";cin>>sj;
cout<<"Atas Nama ";
if(sj==11123)
{cout<<"Baehaqi"<<endl;}
else if(sj==11124)
{cout<<"Ahmad"<<endl;}
else if(sj==11125)
{cout<<"Faqih"<<endl;}
else if(sj==11126)
{cout<<"Fitri"<<endl;}
else if(sj==11127)
{cout<<"Fauziah"<<endl;}
else
{cout<<"Maaf, Anda Tidak Terdaftar Sebagai Mahasiswa Kami. Silahkan Untuk Mencobanya Lagi\n"<<endl;}
cout<<"\nLanjutkan Melihat?? Y/N ";
cin>>jawab;
cout<<"\n";
if( jawab == 'Y' || jawab == 'y')
goto Lanjutkan;
else if (jawab == 'N'||jawab == 'n')
goto coba_lagi;
clrscr;
Lanjutkan:
cout<<"Daftar Mata Kuliah Poltek College Cirebon";
cout<<"\n 1. Agama";
cout<<"\n 2. Algoritma Basic Programming";
cout<<"\n 3. Computer For Office";
cout<<"\n 4. Database";
cout<<"\n 5. Design Grafis";
cout<<"\n 6. English Conversation";
cout<<"\n 7. General English";
cout<<"\n 8. JAVA Mobile";
cout<<"\n 9. Pengenalan Hardware Software";
cout<<"\n10. Personal Development";
cout<<"\n\nMasukan Pilihan : ";
cin>>pilih;
clrscr();
if(pilih == 1)
{cout<<"Jam Masuk\t : 01:00 p.m "<< endl;
cout<<"Hari\t\t : Jum'at "<< endl;
cout<<"Dosen\t\t : Jaja Suteja "<< endl;
cout<<"Mata Kuliah\t : Agama "<< endl;}
else if(pilih == 2)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Rabu "<< endl;
cout<<"Dosen\t\t : Muhammad Erwanto "<< endl;
cout<<"Mata Kuliah\t : Algoritma Basic Programming"<< endl;}
else if(pilih == 3)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Senin "<< endl;
cout<<"Dosen\t\t : Endah Budiastuti "<< endl;
cout<<"Mata Kuliah\t : Computer For Office "<< endl;}
else if(pilih == 4)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Senin "<< endl;
cout<<"Dosen\t\t : Suhati Novalia "<< endl;
cout<<"Mata Kuliah\t : Database "<< endl;}
else if(pilih == 5)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Kamis "<< endl;
cout<<"Dosen\t\t : Agus Darmawan "<< endl;
cout<<"Mata Kuliah\t : Design Grafis "<< endl;}
else if(pilih == 6)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Kamis "<< endl;
cout<<"Dosen\t\t : Supriyanto "<< endl;
cout<<"Mata Kuliah\t : English Conversation "<< endl;}
else if(pilih == 7)
{cout<<"Jam Masuk\t : 09:30 a.m "<< endl;
cout<<"Hari\t\t : Jumat "<< endl;
cout<<"Dosen\t\t : Ijah Hadijah "<< endl;
cout<<"Mata Kuliah\t : General English "<< endl;}
else if(pilih == 8)
{cout<<"Jam Masuk\t : 10:00 a.m "<< endl;
cout<<"Hari\t\t : Sabtu "<< endl;
cout<<"Dosen\t\t : Raden Hendra Raharja "<< endl;
cout<<"Mata Kuliah\t : JAVA Mobile "<< endl;}
else if(pilih == 9)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Jumat "<< endl;
cout<<"Dosen\t\t : Asep Nurhidayat Sugiarto "<< endl;
cout<<"Mata Kuliah\t : Pengenalan Hardware Software "<< endl;}
else if(pilih == 10)
{cout<<"Jam Masuk\t : 08:00 a.m "<< endl;
cout<<"Hari\t\t : Sabtu "<< endl;
cout<<"Dosen\t\t : Sumanti Nur Alia"<< endl;
cout<<"Mata Kuliah\t : Personal Development "<< endl;}
else
{cout<<"Maaf, data yang anda masukkan tidak terdapat dalam list kami";}
cout<<"\n\nTerima Kasih.. Coba Lagi?? Y/N" ;cin>>jwb;
clrscr();
if(jwb == 'Y'||jwb == 'y' )
goto Lanjutkan;
else if (jwb == 'N'||jwb == 'n')
clrscr();
{
cout<<"PolTek College Cirebon";
goto logout; }
logout:
cout<<"\n\nTekan 'Yes' jika anda ingin Log out ";cin>>yes;
if(yes == 'Yes'||yes == 'yes'||yes == 'YES')
goto out;
out:
cout<<"\nAnda Berhasil Log out.. Terima Kasih..";
getch();
return 0;
}
dan ini adalah hasilnya...
- Ini adalah tampilan awal, yaitu tampilan Cek in dan daftar Mata Kuliah :
- Ini adalah tampilan jadwal Mata Kuliah :
- Dan yang terakhir adalah tampilan log out nya :