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.
Delete the memory before returning.

Call your function from main() and test it.