Calculating the sum of all odd array indexes

后端 未结 5 997
予麋鹿
予麋鹿 2021-01-24 19:00

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         


        
5条回答
提交回复
热议问题