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

Hello, any one here who will help me I want to know about to place of post and no. of vacancies for each place for the post of 20,000 clerks. my interview was on 18.10.2008. So please give me a proper response early.

0 Answers  


............. GENERAL KNOWLEDGE Q. A CHILD CAN DEVELOP KWASHORKAR DISEASE PREMARILY DUE THE DEFICIENCY OF WHAT ?

1 Answers  


what are the arrangement for a secretary if his/ her boss is going to attend a meeting?

0 Answers   Kingfisher,


I m selected in cag DEO pag gssa in kerla Obc category if anybody want kerla then call me 7275639235

0 Answers  


Why you want leave the current job?

0 Answers  






I gave the SBI Clerical Exam paper from Bangalore (Karnataka Circle) and I cleared my Exam and I appeared for Interview in Bangalore. Now I have moved Permanently to Gurgaon (Haryana) and I wish to join SBI, if I clear the Interview as well.. Can I join SBI Gurgaon (Haryana)..? Pls. suggest...

0 Answers   State Bank Of India SBI,


hi to all.I completed my MCA.but i have percentage problem.but i got a job in google on gis project.it not a software job.it just some core work.so how can i develop my carrier in the in the same field,and what all i should learn to have a better growth in my field.please help me on this.please send your valuable suggestion so that i can build my carrier.thank you.

0 Answers  


THE MEMBER OF RAJYA SABHA HAS A TERM OF ....... YEARS. (A) 5 (B) 6 (C) 7 (D) 8

1 Answers  


Which institute is best for bank classes either Merit on RACE?

0 Answers  


haiii all of U am going to be prepare SBI clercal exam... can anybody tell me how can I prepare?plz suggest me.. and also where i can collect previous papers....

0 Answers  


Tel me da fee structure of RACE?

0 Answers  


how will be the career growth in railways if we join as a asst. station master?

0 Answers  


Categories