I want to calculate the sum of all odd array indexes, but I\'m having some trouble finding the right way to do it.
Here\'s my code so far:
String id
You are looping only from i=0 to i=5
i=0 to i=5