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
What are the duties of an Assistant in Ministries?
What was the cut off for SSC Tax assistant examination in previous year and what may be the cut off this year?
waht is your srength and weakness?
Difference between Windows Vista and Windows XP professional?
as a secretary, how do asset as a good secretary?
can anybody tells me about the latest walkin for M.C.A in software companies?
plz guide & send me sbi bank & svc bank clearical exam pattern & study materials on my email id balkrishna02@yahoo.com
What is a 10 letter Word ending with s and fourth letter is d and seventh letter is a
i m a 2007 fresher..looking for a job right now.. how could one answer to the question that "what u r doing for the last 2 months"?...
i got a offer in testing at backdoor process ,,,but tell 1 suggestion ,, company name synergymultitechltd this company good or bad pls help ,,thanks for all
hello frnds i m rahul i m a photographer wrkng in delhi could u tell me how can i raise my earning more with a limited budget i m ready to do hard work to any level plz frnds help me
What type of character you like?