Question: Hello, I need help with these questions. File: Screen capture of the output screen. 1. Using a do-while loop. the user is prompted to enter
Hello, I need help with these questions.
File: Screen capture of the output screen.
1. Using a "do-while loop. the user is prompted to enter an integer value between 0 to 10 that represents it. If the entered value is outside the range 0-100, the program will force the user to re-enter the proper value before it will
continue.
2. If the entered integer value is the allowed range the value is then passed to a user-defined function that will determine the letter grade. The user-defined function will return the grade (character) to main[] AND main [] will display the character user.
Marks: letter grade:
| 0 to 49 | F |
| 50 to 59 | D |
| 60 to 69 | C |
| 70 to 79 80 to 100 | B A |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
