Problem:
Question: Write a piece of code that prompts a user to enter an integer value. Dynamically create an array of the size the user entered. Randomly fill the array with values from 1 to 30. Display the total of the array, the highest value and the lowest value. Once complete, delete the array you created. Use of functions is encouraged but not necessary.
Please do not provide cut and paste answers and please include a source.