Question: Write a program that stores your ID Number in an array of integers then do the following: 1. Print the array by using for-each loop

Write a program that stores your ID Number in an array of integers then do the following: 1. Print the array by using for-each loop 2. Reverse the order of the array by using a loop and an integer variable called Print the array after reverse by using for-each loop. 3. Show a screenshot of the output (if there is no screenshot of the output, the student shall get a zero mark for this question). 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
