A student’s letter grade is calculated according to the following schedule:
Numerical Grade Letter Grade
Greater than or equal to 90 A
Less than 90 but greater than or equal to 80 B
Less than 80 but greater than or equal to 70 C
Less than 70 but greater than or equal to 60 D
Less than 60 F
Using this information, write C program that accepts a student’s numerical grade, converts the numerical grade to an equivalent letter grade and displays he letter grade.
1
Expert's answer
2017-11-23T06:25:07-0500
#include <stdio.h>
int main(void) { /* numerical grade */ int n; /* letter grade */ char l;
Comments
Leave a comment