using namespace std;
char nama[30];
int npm,bindo,bing,rbjk,algo,web,agama,pum,sks,tekpen;
int sks1,sks2,sks3,sks4,sks5,sks6,sks7,sks8,jumlahsks;
float ipk;
int main()
{
cout<<"nama :";cin>>nama;
cout<<"npm :";cin>>npm;
cout<<"nilai mutu bhs indo";cin>>bindo ;
cout<<"nilai mutu bing";cin>>bing ;
cout<<"nilai mutu rbjk";cin>>rbjk ;
cout<<"nilai mutu algoritma";cin>>algo ;
cout<<"nilai mutu web";cin>>web ;
cout<<"nilai mutu agama";cin>>agama ;
cout<<"nilai mutu pum";cin>>pum ;
cout<<"nilai mutu tekpen";cin>>tekpen ;
ipk=bindo+bing+rbjk+algo+web+agama+pum+tekpen;
ipk=ipk/8;
cout<<"jumlah sks bindo";cin>>sks1;
cout<<"jumlah sks bing";cin>>sks2;
cout<<"jumlah sks rbjk";cin>>sks3;
cout<<"jumlah sks algo";cin>>sks4;
cout<<"jumlah sks web";cin>>sks5;
cout<<"jumlah sks agama";cin>>sks6;
cout<<"jumlah sks pum";cin>>sks7;
cout<<"jumlah sks tekpen";cin>>sks8;
jumlahsks=sks1+sks2+sks3+sks4+sks5+sks6+sks7+sks8;
cout<<"============================================="<
}
Tidak ada komentar:
Posting Komentar