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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!