Question: Write a program that accepts a numerical value x from 0 to 100 as input and computes and displays the corresponding letter grade given by
Write a program that accepts a numerical value x from 0 to 100 as input and computes and displays the corresponding letter grade given by the following table.
A. x ≥ 90
B. 80 ≤ x ≤ 89
C. 70 ≤ x ≤ 79
D. 60 ≤ x ≤ 69
F. x < 60
a. Use nested if statements in your program (do not use elseif).
b. Use only elseif clauses in your program.
Step by Step Solution
3.43 Rating (156 Votes )
There are 3 Steps involved in it
a include int main int x printfEnter a numerical value x from 0 to 100 scanfd x Nested if sta... View full answer
Get step-by-step solutions from verified subject matter experts
