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 in any element of the array
* retrieve a number from any element 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: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:00, wbrandi118
What role do chromosomes play in inheritance?
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, Bradgarner772
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, AM28
Does read theory have answers keys ?
Answers: 1
image
Computers and Technology, 23.06.2019 18:40, brooklyn4932
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
You know the right answer?
Design a class that has an array of floating point numbers. the constructor should accept an integer...

Questions in other subjects:

Konu
Mathematics, 17.05.2021 14:00
Konu
Mathematics, 17.05.2021 14:00
Konu
Mathematics, 17.05.2021 14:00
Konu
English, 17.05.2021 14:00