Question: C Language: Using do-while loop, write a do-while loop which validate and evaluate the input value for variable grade. Note: The program will force the
C Language: Using do-while loop, write a do-while loop which validate and evaluate the input value for variable grade.
Note: The program will force the user to enter a valid grade. When the user enter a valid grade, the program will evaluate the grade as passing or failing grade. When the user enter an invalid grade, the program will only allow 3 invalid grade input.
Vaid grade is from 0 to 100 only.
Passing grade is from 70 to 100.
Failing grade is from 0 to 69.
These are the outputs of the code

do-while loop VUIPUIN Enter Grade: 100 Remark: Passed OUTPUT 2 Enter Grade: 59 Remark: Failed OUTPUT 3 Enter Graderi Remarkt valid [inter Grade: 101 Remark, Invalia Enter Grade: -1 Remark Invalid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
