Write a basic program of the sum of odd number from 1-10?

Answers (1)

Set a Sum variable to 0. Loop an index variable from 1 to 9, adding that index to Sum, and adding 2 each iteration.

Votes: +0 / -0