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
I am associated with logistic industries, company and always facing problems during the despecthing our goods especially in U P & Uttrakhand, My concern is toward Saletex authority , Kindly clear the concept on following points, 1-why & when road permit is required, 2- does road permit permit is required for sample item,stock transfer,replacement, repairing materials & gift items,
hi guys, i have cleared sbi clerical written test and have been called for interview .i have one doubt- in call letter there r 3 numbers one is roll number,2nd is reference number and what is that 3rd number on right top. plzzzzzzzz if any one knows just answer me.
What is your current salary p.a.?
how long would it take to make a meaningful contribution?
= 5, b = 1, x = 10, and y = 5, create a program that outputs the result of the formula f = (a – b) (x – y) using a signal printf () function.
just what is the difference between group1 and civils.............. and i want to know how to prepare the groups.Where can i get the information about this...... can u tellme plz
Which is the best institute in chennai for studying HARDWARE AND NETWORKING
Which country in the world has 13 months? Hint: Its an African Country. It has exactly 30 days per month.
One hundred people in your neighborhood always drive to work between 7:30 and 8:am and arrive 30 minutes later. Why must two people always arrive at work at the same time, within a minute?
what is the function of impulse relay
what is the difference between ost and pst.
WHICH COUNTRY IS KNOWN AS "COCKPIT OF EUROPE"