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
why the hand nails growing faster than leg nails
My C licence is getting expired on 30.4.2013.I want to renew the same pls.provide information like renewal fees and other details.
How do you cope in stressful situations within a sales environment?
What is referral
Sir, I am selected as a scale 1 officer in a pvt sector bank. What would be my responsibilities in the job??
do any one faced sbi interview. If yes please share ur experience
how do we calculate water consumption for brick work , plaster,land scaping and emergency for new commercial project
Hi, This is Siva who have applied for Syndicate Bank PO Posts.I still did not get any kind of information from them.If anyone have got the call for the interviews,please let me now.You can reach me on 9916357035 or send a mail to sattarus@gmail.com. regards, Siva
WHAT IS THE DIFFERENCE BETWEEN EARTHING AND GROUNDING?
what do you mean the mis report?
COMPUTER RAM A) OPENED THE COMPUTER B) WORKED FOR ONE HOUR AND ALL SAVED. NOW READY TO CLOSE THE COMPUTER. CONSIDERING THE LOAD POSITION OF THE RAM WHAT IS THE DIFFERENCE BETWEEN A) AND B)
The Earth has 6.2 billion people and almost no one lives 100 years. Suppose this longevity fact remains true. How do you know that some year soon, more than 50 million people will die.