Question: Write a COMPLETE C++ program to ask the user to enter a grade. If the grade is greater than or equal to 60, but less
Write a COMPLETE C++ program to ask the user to enter a grade. If the grade is greater than or equal to 60, but less than or equal to 100, the program will display "Congratulation! You passed the exam. If the grade is less than 60, but greater than or equal to 0, the program will display " You failed the test. Work harder." If the grade is not within the range from 0 to 100, the program will display "Invalid grade." The following is a sample running result: Please enter your grade: 89 Congratulation! You passed the exam. Press any key to continue. ..... Please enter your grade: 55 You failed the test. work harder. Press any key to continue. ..... Please enter your grade: 105 Invalid grade. Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
