Design Class Array Floating Point Numbers Constructor Accept Integer Argument Dynamically Q37201866

Design a class that has an array of floating point numbers. The constructor should accept an integer argument and dynamicallyDesign a class that has an array of floating point 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 that perform the following Store a number in any element of the array Retrieve a number from any element of the array Return the highest value stored Return the lowest value stored Return

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.