Write a program to evaluate the Grades of a Student for the following Constraints.(C programming).
if marks >75 - grade A If 60
Answers
Answered by
1
Answer:
There your answer !! I hope it helped !!
Explanation:
#include<stdio.h>
int marks;
scanf("%d",&marks);
if(marks>75){
printf("grade A");
}
else if(marks>60){
printf("grade B");
}
else if(marks>45){
printf("grade C");
}
else if(marks>35){
printf("grade D");
}
else{
printf("grade E");
}
}
Similar questions