Selamat Datang di Fransiskus Blog Terima Kasih Telah Berkunjung

Selasa, 13 Desember 2016

PROGRAM APLIKASI INPUTAN NILAI MAHASISWA

#include
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<<"============================================="<cout<<"nama : "<cout<<"npm  : "<cout<<"============================================="<cout<<"no | mata kuliah|    sks     | nilai mutu"<cout<<"1   | bhs indo      |     2      |   "<cout<<"2   | bhs ing        |     4      |   "<cout<<"3   | RBJK           |     3      |   "<cout<<"4   | ALGO          |     3      |   "<cout<<"5   | WEB            |     4      |   "<cout<<"6   | Agama         |     1      |   "<cout<<"7   | PUM            |     4      |   "<cout<<"8   | Tekpen        |     3      |   "<cout<<"============================================="<cout<<"jumlah sks         |"<cout<<"indeks prestasi komulatif      |"<cout<<"============================================="<return 0;
}


Tidak ada komentar:

Posting Komentar