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

Post New Answer

More Everything Else AllOther Interview Questions

What are the duties of an Assistant in Ministries?

0 Answers  


What was the cut off for SSC Tax assistant examination in previous year and what may be the cut off this year?

0 Answers  


waht is your srength and weakness?

0 Answers   Global InnovSource,


Difference between Windows Vista and Windows XP professional?

0 Answers   Sutherland,


as a secretary, how do asset as a good secretary?

0 Answers  






can anybody tells me about the latest walkin for M.C.A in software companies?

0 Answers  


plz guide & send me sbi bank & svc bank clearical exam pattern & study materials on my email id balkrishna02@yahoo.com

0 Answers  


What is a 10 letter Word ending with s and fourth letter is d and seventh letter is a

3 Answers   Wipro,


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"?...

3 Answers  


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

1 Answers  


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

1 Answers  


What type of character you like?

0 Answers  


Categories