#include<iostream.h>
#include<conio.h>
main()
{
int t,b,a;
float n;
char ulang;
do
{
cout<<"\nMasukkan Tanggal Lahir Anda [1-30] = ";cin>>t;
cout<<"Masukkan Bulan Lahir Anda [1-12] = ";cin>>b;
cout<<"Angkatan = ";cin>>a;
cout<<"Masukkan NIM Anda = ";cin>>n;
if ((t==5 && b==1 && a==2010 && n==3105211030)||(t==5 && b==1 && a==2010 && n==3105211030))
{
cout<<"Nama Anda = Magnifico Ch. Timpua";
cout<<"\nProgram Studi = Sistem Komputer";
cout<<"\nJenjang = S1";
cout<<"\nFakultas = SAINS & TEKNOLOGI";
cout<<"\nNama Kampus = UNIVERSITAS TEKNOLOGI YOGYAKARTA";
}
else if ((t==17 && b==5 && a==2010 && n==3105211017)||(t==17 && b==5 && a==2010 && n==3105211017))
{
cout<<"Nama Anda = Abdul Harris";
cout<<"\nProgram Studi = Sistem Komputer";
cout<<"\nJenjang = S1";
cout<<"\nFakultas = SAINS & TEKNOLOGI";
cout<<"\nNama Kampus = UNIVERSITAS TEKNOLOGI YOGYAKARTA";
}
else if ((t==7 && b==7 && a==2010 && n==3105211039)||(t==7 && b==7 && a==2010 && n==3105211039))
{
cout<<"Nama Anda = Dominggus Tena Bolo";
cout<<"\nProgram Studi = Sistem Komputer";
cout<<"\nJenjang = S1";
cout<<"\nFakultas = SAINS & TEKNOLOGI";
cout<<"\nNama Kampus = UNIVERSITAS TEKNOLOGI YOGYAKARTA";
}
else if ((t==4 && b==9 && a==2010 && n==3105211025)||(t==4 && b==9 && a==2010 && n==3105211025))
{
cout<<"Nama Anda = BOWO SUPRIYADI";
cout<<"\nProgram Studi = SISTEM KOMPUTER";
cout<<"\nJenjang = S1";
cout<<"\nFakultas = SAINS & TEKNOLOGI";
cout<<"\nNama Kampus = UNIVERSITAS TEKNOLOGI YOGYAKARTA";
}
else if ((t==25 && b==5 && a==2010 && n==3105211038)||(t==25 && b==5 && a==2010 && n==3105211038))
{
cout<<"Nama Anda = MELKIANUS N. TANGGU";
cout<<"\nProgram Studi = SISTEM KOMPUTER";
cout<<"\nJenjang = S1";
cout<<"\nFakultas = SAINS & TEKNOLOGI";
cout<<"\nNama Kampus = UNIVERSITAS TEKNOLOGI YOGYAKARTA";
}
int mk,ni1,ni2,ni3,ni4,ni5,ni6,ni7,ni8,ni9,ni10,nikes;
cout<<"\n\nTekan 1 Untuk Mengetahui MK Pertama t.a 2011 = ";cin>>mk;
switch (mk)
{
case 1 :
cout<<"\nMata Kuliah = P K n";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni1;
if (ni1 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni1 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni1 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni1 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni1 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 2 Untuk Mengetahui MK ke-2 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 2 :
cout<<"\nMata Kuliah = Fisika Dasar II";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni2;
if (ni2 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni2 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni2 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni2 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni2 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 3 Untuk Mengetahui MK ke-3 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 3 :
cout<<"\nMata Kuliah = Mikroprossesor";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni3;
if (ni3 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni3 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni3 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni3 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni3 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 4 Untuk Mengetahui MK ke-4 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 4 :
cout<<"\nMata Kuliah = Pemrograman Bahasa C Praktek";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni4;
if (ni4 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni4 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni4 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni4 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni4 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 5 Untuk Mengetahui MK ke-5 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 5 :
cout<<"\nMata Kuliah = Elektronika Digital";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni5;
if (ni5 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni5 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni5 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni5 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni5 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 6 Untuk Mengetahui MK ke-6 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 6 :
cout<<"\nMata Kuliah = Pemrograman Bahasa C";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni6;
if (ni6 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni6 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni6 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni6 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni6 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 7 Untuk Mengetahui MK ke-7 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 7 :
cout<<"\nMata Kuliah = P T I";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni7;
if (ni7 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni7 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni7 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni7 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni7 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 8 Untuk Mengetahui MK ke-8 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 8 :
cout<<"\nMata Kuliah = P T I Praktek";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni8;
if (ni8 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni8 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni8 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni8 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni8 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 9 Untuk Mengetahui MK ke-9 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 9 :
cout<<"\nMata Kuliah = Bahasa Inggris II";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni9;
if (ni9 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni9 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni9 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni9 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni9 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nTekan 10 Untuk Mengetahui MK ke-10 t.a 2011 = ";cin>>mk;
switch (mk)
{
case 10 :
cout<<"\nMata Kuliah = Kalkulus II";break;
}
cout<<"\nMasukkan Nilai Yang Anda Dapatkan = ";cin>>ni10;
if (ni10 >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (ni10 >=85)
cout<<"Nilai Anda = A"<<endl;
else if (ni10 >=65)
cout<<"Nilai Anda = B"<<endl;
else if (ni10 >=45)
cout<<"Nilai Anda = C"<<endl;
else if (ni10 >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\nNilai Keseluruhan Anda Adalah = "<<(ni1+ni2+ni3+ni4+ni5+ni6+ni7+ni8+ni9+ni10)/10<<endl;
cout<<"\n\nMasukkan Nilai Keseluruhan Anda = ";cin>>nikes;
if (nikes >100)
cout<<"Nggak Ada PENDO...!! Nilainya Cuma Sampe 100 PENDO...!!"<<endl;
else if (nikes >=85)
cout<<"Nilai Anda = A"<<endl;
else if (nikes >=65)
cout<<"Nilai Anda = B"<<endl;
else if (nikes >=45)
cout<<"Nilai Anda = C"<<endl;
else if (nikes >=25)
cout<<"Nilai Anda = D"<<endl;
else
cout<<"Nilai Anda = E"<<endl;
cout<<"\n\nApakah Anda Ingin Melihat Nilaimu Lagi [Y/T] ? = ";cin>>ulang;
}
while (ulang=='Y'||ulang=='y');
clscr ();
}
Tidak ada komentar:
Posting Komentar