Question: It should be a c++ program (Submit your solution to Blackboard as a.cpp file) Write a program that creates a class named Array that possesses

 It should be a c++ program (Submit your solution to Blackboard
as a.cpp file) Write a program that creates a class named Array
that possesses one member (number) whose datatype is a float. For thisIt should be a c++ program

(Submit your solution to Blackboard as a.cpp file) Write a program that creates a class named Array that possesses one member (number) whose datatype is a float. For this class, the program should create the necessary public member functions (ex. set functions, get functions, constructor(s), etc.) for value storage and retrieval. The object instances for this program should be composed of an array of n size, which is determined by the user's input. Furthermore, the float values that are to be stored in this array should be based on the user's input. When storing the float values into the array, the user must determine which actual position within the array to store these values, respectively. This program should also possess a menu option to conduct the following operations (just to note, the menu option should appear AFTER the values are stored in the array): 1: Retrieve the specific value from an array (based on specific position in the array). 2: Retrieve the highest value in thear 3: Retrieve the lowest value in the 4: Retrieve the sum of all values in the array 5: Retrieve the average of all values in the array 0 2 2 5 8 0

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!