INLAB-9


INLAB-9



     Print the Appreciation for the student.

      Program:

#include<stdio.h>
int main()
{
 int gr, a, s;
 scanf("%d%d%d", &gr, &a, &s);
 if (gr >= 3 && a >= 90 && s >= 2)
 printf("Excellent");
 else if (gr >= 3 && a >= 90)
 printf("Very good");
 else if (gr >= 3 && s >= 2)
 printf("Good");
}


Comments

Popular posts from this blog

MATLAB WEEK-2

PRACTICE PROBLEM 8