Question: Please show me how to program this in c++. Thank you. 1. Write a C++ program to implement this task. (50 pts) Students are registered
1. Write a C++ program to implement this task. (50 pts) Students are registered in 3 courses in a semester. To pass each course, students have to make a grade greater than or equal to 40 You have to write a program to determine if the student will pass or fail the semester, based on the following criteria: A student passes if all three courses are passed. Additionally, a student may pass if only one subject is failed, and the overall average grade for the 3 courses is greater than or equal to 50. Your program should prompt the user to enter grades for the three courses. Make use of a named constant for defining the pass mark of 40. SAMPLE RUN 1 (user entered values are in blue) Enter the 3 grades, separated by a space: 75 85 90 You entered: Grade 175 Grade 285 Grade 3- 90 Average Grade: 83.3333 You Passed-) SAMPLE RUN 2 (user entered values are in blue) Enter the 3 grades, separated by a space: 35 40 87 You entered Grade_l 35 Grade_2- 40 Grade 3 = 87 Average Grade: 54 You Passed)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
