Question: I need the solution for those both pleaaaase 5) Write a program that reads three grades of a student, it prints Passed if the average
5) Write a program that reads three grades of a student, it prints "Passed" if the average is greater than or equal 60, otherwise, it prints "Failed" Instead of printing "Passed/Failed", modify your program to print the corresponding letter grade of the average as follows: A' if the average is greater than or equal 90 B' if the average is greater than or equal 80 but less than 90. C' if the average is greater than or equal 70 but less than 80. D' if the average is greater than or equal 60 but less than 70 F' if the average less than 60 6) Correct the following code segment int main () double grade 7e; if (grade60 else cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
