/*Students with academic scores >=90 points are represented by A, students with 70-89 points are represented by B, students with 60-79 points are represented by D. */
#include <>
#include <>
void main (void)
{
int grade;
char y;
printf ("Please enter students' academic performance\n");
scanf ("%d",&grade);
y=grade>=90 ? 'A' : (grade>=70 ? 'B' : (grade>=60 ? 'C' : 'D'));
printf ("Level is %c\n",y);
getch();
}