subject

Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The
destructor should free the memory held by the array. In addition, there should be member
functions to perform the following operations:
ā€¢ Store a number at any index of the array
ā€¢ Retrieve a number from any index of the array
ā€¢ Return the highest value stored in the array
ā€¢ Return the lowest value stored in the array
ā€¢ Return the average of all the numbers stored in the array

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Ou listened to a song on your computer. did you use hardware or software?
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
question
Computers and Technology, 23.06.2019 18:50
Ais a picture icon that is a direct link to a file or folder
Answers: 1
You know the right answer?
Design a class that has an array of floating-point numbers. The constructor should accept an intege...
Questions
question
Mathematics, 30.08.2019 17:00
question
Health, 30.08.2019 17:00
question
Mathematics, 30.08.2019 17:00
question
Physics, 30.08.2019 17:00
Questions on the website: 13722361