Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(C++) need help writing this program. Program Specification This program is all about using arrays. the program should first display a menu. The menu should

(C++) need help writing this program.

Program Specification This program is all about using arrays. the program should first display a menu. The menu should allow you to:

1. Enter 10 grades.

2. View grade statistics (smallest grade, largest grade, average grade, standard deviation

3. Reverse the array.

4. Sort the array assenting

5. Sort the array descending.

6. Search for a value in the array and return the position.

7. Display the array to the screen.

8. Set every value in the array to number provided by the user.

The user should be able to choose a menu item in any order they want. Be prepared to show an error message if the user tries to do something to the array before entering data. After preferring any operation the program should return to the main menu. Do not accept grades less than O or greater than 100. Your program must utilize functions. I expect to see at least 8 functions. You cannot use vectors or global variables.

Input Validation Do not accept test grades lower than O or higher than 100.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions