seriesOne
Objective: Write program code to create, traverse, and manipulate elements in 1D array or ArrayList objects.
Complete the method that returns the series shown from 1 to N.
Series: 1, 3, 9, 27, 81, ...,
seriesOne(4) -> [1, 3, 9, 27]
seriesOne(2) -> [1, 3]
seriesOne(6) -> [1, 3, 9, 27, 81, 243]
The following methods of a list can be used to manipulate the contained data.
Type your solution
Skills Practiced:
3.C
3.D
4.A
4.B
Saved
Saved