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
plz suggest some interview questions for upcoming interview of SBI PO 2 be held in feb.
why do you left your previous job?
42 Answers Bajaj Capital, Boss Global, BPO, Capita India Pvt Ltd, Centax, DELL, EDS, First Advantage, Genpact, Infosys, Ocwen, Orient Craft, Sai Estate, Sitel, TATA, Tata Teleservices, WNS, Zensar,
what u know about google?
when will be the interview results of sbi associate banks for clerical posts will be declared
When you describe a person as ' 404 ', what do you mean?
Can a Trust be made nominee in a life insurance policy
In India the first book was printed in 1561.and who is the author What was its name? and in which language ?
let me know by some one about Two bus scheme in switchyard relatedd to power plants
Sir I m doing US based CFA. and I m MBA Finance from Gujarat University. I have 3 years of accounting cum Audit experience in India and Dubai. How this can help me to have US Visa. Means what is more required to apply for the employment Visa. Please reply me. Means which type of Employment Visa can I have good support.. Please reply me. What is still needed for my eligibility. for the same.
Cosmos bank is nationalised or Not..?
how to get group2 halltickets from net?
I am working in public sector bank , i am an mcom only, i want to change teh job for better salary and career