Question: #include #include #include using namespace std; int main() { //Initialize variables double score[5]; double min = 0.0, max = 0.0, median = 0.0; double total

#include
using namespace std;
int main() { //Initialize variables double score[5]; double min = 0.0, max = 0.0, median = 0.0; double total = 0.0; char grade; //Prompt user to enter five test scores cout > score[i]; //Check if user entered valid test score if(score[i] 100) { cout = 89.5) grade = 'A'; else if(avg >= 79.5 && avg = 69.5 && avg = 59.5 && avg
please solve in C++ but remove the use of arrays
Assignment: 1. ask the user to enter five (5) test scores 2. report the data entered by the user (echo print) 3. if any of the scores are less than zero (100), print an error message 4. if all the scores are between 0 and 100 - report the average (rounded to two decimal places) - use cout fixed setprecision (2) - report the letter grade that should be assigned using the following scale - Also report: =min =max - median >=89.5A79.589.49B69.579.49C59.569.49D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
