Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The grade for a test that is marked out of 100 is set according to test score obtained as shown in the table below. Each
The grade for a test that is marked out of 100 is set according to test score obtained as shown in the table below. Each test score can only be an integral value, that is, no fractional parts. Score Grade Pass Greater than or equal to 50 but less than or equal to 100 Less than 50 but greater than or equal to o Fail Write a C++ program that will prompt user to enter test score and then set grade to either to "Pass" or "Fail. Then display both the score and grade. Make sure to test that only valid scores will have a Pass or a Fail grade. If not, display error message about Invalid input
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started