Question: Write an application that stores 5 integers in an array. Prompt the user to enter the 5 integers and store them in the array. Now
Write an application that stores 5 integers in an array. Prompt the user to enter the 5 integers and store them in the array. Now loop through this array and print out all the numbers. Create another loop that starts at the end and prints the numbers in the other direction. Save the file as FiveInts.java Sample Output: 10 20 30 40 50 50 40 30 20 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
