Skip to content

Latest commit

 

History

History
11 lines (5 loc) · 300 Bytes

PRINT_ARRAY.md

File metadata and controls

11 lines (5 loc) · 300 Bytes

Print an Array Forward-Backward

1 - Print an Array

Write a recursive method printForward that displays all the elements in an array of integers, separated by spaces.

2 - Print an Array Backward

Write a recursive method printBackward that takes an integer array and prints the array backward.