answersLogoWhite

0

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

What else can I help you with?

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.


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

5598,6002,6004,6006,6008,


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 }


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.


How many even numbers are between 1 and 99?

There are 49 even numbers between 1 and 99.