#include <iostream>
#include<string>
using namespace std;
int main (){
cout<<"\n==========================================";
cout << "\n Name: Via Galagate ";
cout << "\n Subject Title: Programming Language ";
cout << "\n Subject Code: CS242 ";
cout << "\n Activity NO.: 12 ";
cout << "\n Instructor: Clinton Reducto ";
cout<<"\n==========================================";
cout<<"\n \n \n";
int grade;
cout<<" Enter Your Grade in CS242:";
cin >>grade;
if (grade>=98 && grade<=100){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1 :\n";
cout<<" Excellent ! :\n";
cout<<"========================================\n";
}
else if (grade>=97 && grade<=97){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.25 :\n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=92 && grade<=94){
cout<<"======================================\n";
cout<<": Grade Point Equivalent: 1.5 : \n";
cout<<": Very Good! :\n";
cout<<"========================================\n";
}
else if (grade>=89 && grade<=91){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 1.75 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=86 && grade<=88){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=83 && grade<=85){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.25 : \n";
cout<<": Good! :\n";
cout<<"========================================\n";
}
else if (grade>=80 && grade<=82){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.5 : \n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=77 && grade<=79){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 2.75 :\n";
cout<<": Fair! :\n";
cout<<"========================================\n";
}
else if (grade>=75 && grade<=77){
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 3 :\n ";
cout<<": Passed :\n";
cout<<"========================================\n";
}
else{
cout<<"========================================\n";
cout<<": Grade Point Equivalent: 5.00 : \n";
cout<<": Failed :\n";
cout<<"========================================\n";
}
return 0;
}
Walang komento:
Mag-post ng isang Komento