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

C Language: Using do-while loop, write a do-while loop which validate and

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!