Lab 5 -- Dynamic Memory Allocation
Write a function that asks the user for a number of elements and allocates an array of double of that size.
- Call a separate function that uses a loop to read in values to store in the array
- Another function should display all the values in the array.
Delete the memory before returning.
Call your function from main() and test it.