Design a class that has an array of floating point numbers. Theconstructor should accept an integer argument and dynamicallyallocate the array to hold that many numbers. The destructor shouldfree the memory held by the array. In addition there should bemember functions that 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
Return the lowest value stored
Return the average value of the numbers stored
Sample output:
How many numbers do you want to store? 5
Enter the 5 numbers:
Number 0: 56
Number 1: 13
Number 2: 99
Number 3:
OR
OR