Posts

Showing posts with the label inlab 9

INLAB-9

Image
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"); }