Post a New Question

computer science

posted by on .

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

  • computer science - ,

    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.

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question