+ 1

Hello guys... What am i doing wrong? I am getting errors

https://code.sololearn.com/cVpD9eQxL1L7/?ref=app

6th May 2018, 5:56 PM
Jims
2 Answers
+ 4
https://code.sololearn.com/c6oj0KdIEkcn/?ref=app Your Array declaration is wrong Iterator type not specified Arrays index is out of bounds cos you used:: i<=arr.length instead of i<arr.length
6th May 2018, 6:06 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
thank you so much
6th May 2018, 6:16 PM
Jims