Question: C++ Programming, Visual Studio - Please help write program which: Prompts the user for 5 test scores as integers greater than or equal to zero
C++ Programming, Visual Studio - Please help write program which:
Prompts the user for 5 test scores as integers greater than or equal to zero and less than or equal to 100.
Ensures that the user entries are valid (integers greater than or equal to zero and less than or equal to 100).
VALIDATE INPUT: Do not accept alphabetical/special characters or Enter key - "invalid entry" should appear.
VALIDATE INPUT: Do not accept integers greater than 100 - "Enter only integers greater than or equal to zero and less than or equal to 100" should appear
Stores the 5 tests scores in an array.
Uses the bubble sort to sort the scores in ascending order.
Calculates the letter grade for each test
Displays the letter grade of each score as well as the overall average (the average of the 5 tests).
You must include a method called calcAverage to compute the average of the 5 test scores; it takes an array of type int as a parameter and returns the average.
You must include a method called validateUserInput to ensure user entries are integers greater than or equal to zero and less than or equal to 100.
You must include a method called bubbleSort which sorts the values (test scores) stored in the array in ascending order.
You must include a method called displayTestScores which displays each test score and its corresponding letter, as well as the overall average.
You must include a method determineGrade to compute the average of the 5 test scores; it takes an int array with the test scores and a char array to store the corresponding letter grades. The letter grade is arrived at using the table below:

RESTRICTIONS:
No global variables
No labels or go-to statements
No infinite loops, examples include: for(;;), while(1), while(true), do{//code}while(1);
No break statements
No pointers
score Letter Grade >=90 80 and =70 and =60 and =0 and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
