Menentukan Mutu Nilai

Posted: April 17, 2010 in Daspro




void main()


char nama[40], jurusan[60];

int nilai;

long int nim;


cout<<“Masukan Nama Anda    : “;cin>>nama;

cout<<“Masukan NIM Anda     : “;cin>>nim;

cout<<“Masukan Jurusan Anda : “;cin>>jurusan;

cout<<“Masukan Nilai Anda   : “;cin>>nilai;


cout<<“Mutu Nilai = A”;

else if(nilai>=75&&nilai<89)

cout<<“Mutu Nilai = B”;

else if(nilai>=55&&nilai<74)

cout<<“Mutu Nilai = C”;

else if(nilai>=35&&nilai<54)

cout<<“Mutu Nilai = D”;

else if(nilai>=0&&nilai<34)

cout<<“Mutu Nilai = E”;




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s