answersLogoWhite

0


Best Answer

1.start

2.n=1,s=0

3 compute s=s+n

4 compute n=n+1

5 check n<=10 go to step3 else go to step 7

6 display s

7 stop

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

ProfBot

1mo ago

To find the sum of even numbers between 1 and 10, you can use a simple algorithm. First, initialize a variable to store the sum. Then, iterate through the numbers from 1 to 10, checking if each number is even. If a number is even, add it to the sum. Finally, return the sum as the result of the algorithm.

This answer is:
User Avatar

User Avatar

DudeBot

1mo ago

Oh, dude, it's like super simple. You just add up all the even numbers between 1 and 10, which are 2, 4, 6, 8, and 10. Then you add them together: 2 + 4 + 6 + 8 + 10 = 30. Ta-da! That's your sum of even numbers between 1 and 10. Easy peasy.

This answer is:
User Avatar

User Avatar

Vishnu 385

Lvl 2
3y ago

n=int (input('enter the limit'))

I=1

Sum=0

while i

This answer is:
User Avatar

Write algorithm to find the sum of odd number between 1 to100

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Algorithm to find the sum of even numbers between 1and 10?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the sum of the even numbers between 1and 11?

write an algo to find the sum of even number from 1to n


What are the even numbers between 1and 13?

The even numbers between 1 and 13 are 2, 4, 6, 8, 10, and 12.


All even numbers from 2-100 using algorithm?

102


Write an algorithm to print sum of all even numbers?

Start print "the sum of all even numbers is infinite" end


Write algorithm and draw flowchart to find the sum of even numbers?

jgfujtf


Algorithm to find the sum of even numbers between 1 to 10?

sum = 0 for(n = 0; n &lt;= 10; n += 2) sum += n;


How many even numbers can you find between 20 and 40?

Show a modified algorithm flowchart to list even numbers between 20 and 40, 22, 24, 26, 28, 30, 32, 34, 36, 38 and that is 9 numbers


What is the ratio of the number of even numbers between 1and 100 to the number of odd numbers less than 180?

It is 0 since the number of odd numbers less than 180 is infinite and a finite number "divided by infinity" is zero. However, if you limit yourself to positive integers, then the ratio is 49/90, which cannot be simplified.


How do you write algorithm with its equivalent pseudo code that sums all even numbers between 1 and 20 s?

Something like this: sum = 0 for i = 2 to 20 step 2 { sum = sum + i }


What are the even numbers that are between 5996 and 6010?

5598,6002,6004,6006,6008,


How many even numbers are there between one and nine?

There are four even numbers between one and nine. the four even numbers are 2,4,6 and 8.


What are the even square numbers between 10-70?

what are the even square numbers between 10 and 70