Write a program that accepts a numerical value x from 0 to 100 as input and computes

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: