Write an algorithm which is used to calculate student grade report?
Answers
Answered by
5
Answer:
hope it will be helpful
pls mark me has brainliest
Explanation:
#include <stdio.h>
int main(void)
{
int num;
printf("Enter your mark ");
scanf("%d",&num);
printf(" You entered %d Marks n", num); // printing outputs
if(num >= 80){
printf(" You got A grade n"); // printing outputs
}
else if ( num >=60){ // Note the space between else & if
printf(" You got B grade n");
}
else if ( num >=40){
printf(" You got C grade n");
}
else if ( num < 40){
printf(" You Failed in this exam n");
printf(" Better Luck Next Time n");
}
return 0;
}
anushka30123012:
hiii
Answered by
0
Explanation:
The answer is I don't know
Similar questions