Design a class that has an array of floating-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.
Demonstrate the class in a program.
No Answer is Posted For this Question
Be the First to Post Answer
My PC auto restart some times goes shutdown..is PSU 12V is responsible for it becoz its not ok as seen bios Hardware
what kind of jobs will you be doing in the next one year, two years or five years?
differences between indians and americans
What are the seven wonders of this world?
if i refuse than what will you do?
In Grand Battle game, are there any good ways to recruit more high-level generals? I really enjoy being a commander in the android game Grand Battle. I feel quite excited especially when I subject the generals to my command. Any one can tell me how to recruit more high-level generals? The purple ones are great. Many thanks!
Any difficult situation which u have ever handled in the absence of ur team leader? would be better if answer is from BPO (Call centers)
What happens when centrifugal pump is operated with closed discharge valves?
What is valley, Playa, Catchment area, Basin ? please describe with picture.
during the announcement of group 1(APPSC)preliminary results they said in press meet that the results of assistant executive engineer results would also be released in 2 days interviews would held om june 10th but after 10 days also there is no announcement of results and interview date is fast approaching can any body suggest what to do next
why people works on commission basis, where there is no fix income
i am M.Sc with specialisaton in prganic chemisry & in interview they ask me a quetion that why do you chooce organic chemistry? i said that i like reaction thats why so they ask me what do you like in reaction? i dont have answer of this 2 question please help me