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

asked
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.

answered
User Joe Mellin
by
8.4k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.