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

independece day of bangladesh

1 Answers   NIFT,


when did the terror attack on world trade centre new york take place

2 Answers  


IS THERE ANY CHOICE TO DO CIVILS INTERVIEW IN TELUGU

0 Answers  


Role of a Hr in a company

0 Answers   ABC, Genpact,


when will the tnpsc group -ii result come

0 Answers  






15.wht r u future plans for british airways? uk,if permanently?

0 Answers   British Airways,


As aperson , how would u describe urself ?

0 Answers   R Trade,


How does the respiratory system picks up oxygen while inhaling amongst all other gases????

0 Answers  


I am selected as DEO IN kerla cag anybody wants mutual transfer i want in northern india Like up delhi punjab etc Call me 7275639235 7275219235

0 Answers   CAG,


what are your major limitation

0 Answers  


WHO WON THE INDIAN GRAND PRIX,2012 AT BUDDH INTERNATIONAL CIRCUIT (BIC_) ?I

1 Answers  


Describe two incidents that drastically changed your approach to life?

0 Answers  


Categories