answersLogoWhite

0

Start

print "the sum of all even numbers is infinite"

end

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

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

jgfujtf


Write a algorithm to print all even numbers in descending order?

AnswerIf A=10, B=2... Then the algoritm is :-STEP1 : START.STEP2 : A=10.STEP3 : B=02.STEP4 : C=A-B.STEP5 : PRINT C.STEP6 : STOP.AnswerYou cannot print every even number in descending order, because there is no greatest even number. Or you want something like this: infinityinfinity-2infinity-4Answerstep 1: start step 2: Input Nstep 3: If N


Q2 Write a program to print even numbers between 10 and 50?

You can use int i; for (i = 10; i <= 50; i += 2) {//print i} as a program to print even numbers between 10 and 50.


All even numbers from 2-100 using algorithm?

102


Write a c programme to print all the even numbers in descending order?

#include(stdio.h) int main ()


How write algorithm for finding the sum first ten even number?

Sum = 0 For N = 1 to 10 Sum = Sum + 2*N Next N Print Sum


How do you print numbers as even numbers in a loop in qbasic?

To print even numbers in a loop in QBasic, you can use a FOR loop to iterate through a range of numbers and check if each number is even. An even number can be identified using the modulus operator (MOD). Here's a simple example: FOR i = 1 TO 20 IF i MOD 2 = 0 THEN PRINT i END IF NEXT i This code will print all even numbers from 1 to 20.


How do you Write a C program to print a Series of Odd Numbers and Even Numbers.?

Reference:http:cprogramming-bd.com/c_page2.aspx# strange number


What is the Algorithm to print the all even numbers from 2 to 100?

Well, honey, it's not rocket science. Just start at 2 and keep adding 2 until you hit 100. In programming terms, it's a simple loop that increments by 2 each time until you reach 100. So, get that code going and print those even numbers like a boss!


Write a program to print even and odd numbers in between 1 to 10?

for (int i = 2; i < 10; i ++) printf("%d\n", i); You did say even and odd numbers between 1 and 10. That's allnumbers between 1 and 10.


Print sum of first ten even numbers?

It is 110.


How do you print even number in qbasic?

In QBasic, you can print even numbers using a simple loop. For example, you can use a FOR loop to iterate through a range of numbers and then check if each number is even by using the modulus operator (MOD). Here's a sample code snippet: FOR i = 1 TO 20 IF i MOD 2 = 0 THEN PRINT i NEXT i This code will print all even numbers from 1 to 20.