Not sure how to start this?
Write a program that uses a dynamic array that contains 5 items of double values. The size of the array is entered when the program is run. Also the 5 values must be entered. These tasks are done in the main () function. Then write a function to display the 5 values. The function must have a pointer variable as a parameter. The function is called from the main ().