12345678910111213141516171819202122232425262728
#include <iostream> #include <conio> int main () { int mark; cout<<"Enter your mark>>"; cin>>mark; if (mark>=75) cout<<"Your Score: A"<<endl; if ((mark<75) && (mark>=60)) cout<<"Your Score: B"<<endl; if ((mark<60) && (mark>=45)) cout<<"Your Score: C"<<endl; if ((mark<45) && (mark>=30)) cout<<"Your Score: D"<<endl; if (mark<30) cout<<"Your Score: E"<<endl; getch(); return 0; }