How would you code the array based of the input the user enters in java coding?
-An array to hold 10 integers (The first element should be the integer input by the user. The second through tenth elements should each be the previous element + 100)
-Ask the user for an integer.
-Display the contents of the array on the screen in ascending index order