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

I need the solution for those both pleaaaase  I need the solution for those both pleaaaase 5) Write a

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

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!