Question: Program in C++ Prompt for a student's last name, then read in 3 scores from the user and calculate their average. Based on that average,
Program in C++Prompt for a student's last name, then read in 3 scores from the user and calculate their average. Based on that average, the program should display a message: "Excellent" if the grade is 90 or better, "Well Done" if the grade is 80 or better, "Fair" if the grade is 70 or better, "Need Improvement" if the grade is 60 or better, and "Fail" if the grade is less than 60, Output should be well formatted and aligned. Here's what an example program run should look like: Enter last name: Jones Grade 1: 85 Grade 2: 90 Grade 3 100 Average: 92, Excellent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
