3.3k views
4 votes
Write an algorithm to find the sum of odd numbers between 0 and 100​

User Juuga
by
8.0k points

1 Answer

1 vote

Answer:

Step 1: Start the process. Step 2: Let the value of the desired sum be assigned to S. Step 3: Calculate the value of S as 50/2 (2*2+(50-1)*2). Step 4: Print the value of S.

User Joe Mellin
by
8.4k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.