Computer Science, asked by motlhabimartin, 3 days ago

Write a program to evaluate the Grades of a Student for the following Constraints.(C programming).
●if marks >75 - grade A
●If 60 ●if 45 ●if 35 ●if marks <35-grade E

Answers

Answered by coolcaptain008
1

Answer:

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