Z
zeus2
how do i create data storage for an array of integers, and for an
integer variable size
-Prompts the user for the size of array they want (number of elements)
-Instantiates the array to have the number of elements the user
requested.
- Prompts the user to enter a value to store in each element of the
array
Uses methods from the Array class to:
- Sort the elements of the array into numerical order
- Display the sorted values on the console.
integer variable size
-Prompts the user for the size of array they want (number of elements)
-Instantiates the array to have the number of elements the user
requested.
- Prompts the user to enter a value to store in each element of the
array
Uses methods from the Array class to:
- Sort the elements of the array into numerical order
- Display the sorted values on the console.