Question: Write a program that prompts the user to input a number indicating the number of elements in the array and then dynamically creates an array


Write a program that prompts the user to input a number indicating the number of elements in the array and then dynamically creates an array of that size filling it with random numbers and then printing the array (you can re-use your arrayPrint function). Remember to set your array size and indexes carefully so that you do not go out of the bounds of the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
