Question: 3.) In main0, declare an array named: testScores Array size 5 The array holds test scores (double data type). Use a constant variable named SIZE

 3.) In main0, declare an array named: testScores Array size 5

The array holds test scores (double data type). Use a constant variable

3.) In main0, declare an array named: testScores Array size 5 The array holds test scores (double data type). Use a constant variable named SIZE in the array declaration. 4.) Include these 4 functions: - getScores This function prompts the user to enter 5 test scores. (see output) The testScores array is passed to the function. The scores entered by the user are read and assigned to the testScores array. o o o Use a for loop to read in and assign the scores. The function is void-returning. - o showMenu After the screen clears, this function displays a menu of 2 choices. No arguments are passed to the function, and no value is returned. (see output) o o - getChoice o After the screen clears, this function prompts the user to enter a choice. o No arguments are passed to the function. o The user's choice is read and assigned to a variable (char). o Then the value is returned to main). displayResult After the screen clears, this function displays the result, depending on the o user's choice

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!