#include"iostream.h"
#include"conio.h"
void main()
{
clrscr();
int marks,x;
char grade;
cout<<"Enter your marks :: \n"; // marks should be out of 100
x=marks/10;
switch(marks)
{
case 9:
{
grade='a';
break;
}
case 8:
{
grade='b';
break;
}
case 7:
{
grade='c';
break;
}
case 6:
{
grade='d';
break;
}
case 5:
{
grade='e';
break;
}
default:
{
grade='f';
break;
}
}
cout<<"Your grade is :: "<
getch();
}