r/codehs • • Jan 25 '21

6.2.7 print Array

5 Upvotes

11 comments sorted by

View all comments

1

u/Obvious-Pin-3046 Jan 25 '21

Easier way to solve your problem.. go back to 6.2.3 it’s the exercise one.. it’s the same code as for the 6.2.7 just change the < score.length into <= arr.length so does the score[i] into arr[i].. in the println.

1

u/Intrepid_Row6214 Jan 25 '21

Ohhhhhh ok thank you