write algorithm to find the sum of first 100 even numbers
Answers
Answered by
25
The algorithm to find the sum of the first 100 even numbers is written taking the above formula into consideration. 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).
Similar questions