27th Mar 2019, 6:31 AM
Nasirā¤
Nasirā¤ - avatar
4 Answers
+ 2
Hey no error if error how it runs.?šŸ˜„ Think it once guys
6th Apr 2019, 6:32 PM
Kaperla Nagaraju
Kaperla Nagaraju - avatar
+ 2
If you want to sum 1, 3 and 5 members of array, than you have not errors.
7th Apr 2019, 4:12 PM
Ефимов Дергей
Ефимов Дергей - avatar
0
If statement missing on line 7. You have written directly the paranthesis so it is an error. Thus it is showing the ; missing error before the line 8
27th Mar 2019, 6:36 AM
Anshumaan Mishra
0
missing {} for the if condition. and btw, did you mean to test if the numbers in the array are %2? because if your code is like this your if condition will always add the 1st, 3rd and 5th position in the array.
3rd Apr 2019, 1:30 PM
Timo Vƶlker
Timo Vƶlker - avatar