Asked by John
Write a method printBackwards that prints an array of integers in reverse order, in the following format.
For the array {1, -3, 4, 7, 2}:
element [4] is 2
element [3] is 7
element [2] is 4
element [1] is -3
element [0] is 1
For the array {1, -3, 4, 7, 2}:
element [4] is 2
element [3] is 7
element [2] is 4
element [1] is -3
element [0] is 1
Answers
Answered by
Jennifer
You're going to have to look up the functions in the particular language you're working with to learn how to store arrays, select elements of the array, and print statements.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.