Solution :-
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
char Grade ,A,B,C,D,F;
cout << "Enter the Grade " << endl;
cin>>Grade;
if(Grade=='A'||Grade=='a')
cout<<"Your child is Excellent in class \n";
else if(Grade=='B'||Grade=='b')
cout<<"Your child is very good in class\n";
else if(Grade=='C'||Grade=='c')
cout<<"Your child is good in class\n";
else if(Grade=='D'||Grade=='d')
cout<<"Your child is poor in class\n";
else if(Grade=='F'||Grade=='f')
cout<<"Your child is fail in class\n";
getch();
}
0 Questions:
Post a Comment