Computer Science, asked by 2002pratyusa, 7 months ago

design an algorithm to find the sum of 50 odd numbers.​

Answers

Answered by rishimishra1902
0

Answer:

sum = 0

for i in range(1,51):

    if i % 2 != 0 :

         sum += i

print(sum)

Explanation:

Similar questions