Question: Write a program that stores your ID Number in an array of integers then do the following: Print the array by using for-each loop. Reverse
Write a program that stores your ID Number in an array of integers then do the following:
Print the array by using for-each loop.
Reverse the order of the array by using a loop and an integer variable called temp.
Print the array after reverse by using for-each loop.

Program typical run run: My Id number before reverse: 17007890 My Id number after reverse: 09870071 BUILD SUCCESSFUL (total time: 0 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
