Question: C++ please 1. Write a program that prompts the user to enter five test grades. Store each test grade in an array. After the grades
C++ please
1. Write a program that prompts the user to enter five test grades. Store each test grade in an array. After the grades are entered, use a for loop to compute the sum and then compute the average grade from the sum.
2. Modify problem 1 so that you also have a second array of strings that stores the student's names. This array should parallel the grade array so that the first student's name is in position 0 of the names array and their test score is in position 0 of the grades array, and continue this for the rest of the students. Write a for loop that displays each student's name along with their grade.
3. Write a program that takes the grades entered in Problem 1 and displays the grades in reverse order.
4. Using random number generation, write a program that stores 100 values from 1 to 100 in an array. Display the array to the user. Prompt the user to enter a value that occurs in the array and then have the program count the number of times the value is found in the array. Display the final count.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
