Computer Science, asked by rasmipal1983, 2 months ago

To print the sum of first 10 even numbers in qbasic​

Answers

Answered by anushkashree650
11

Answer:

CLS

s = 0

FOR i = 0 TO 10

STEP 2

s = s + i

NEXT i

PRINT "The sum of the numbers is "; s

END

SHARE : TWIT

Hope it's help you

Please Mark as brain list

Answered by harshsable46748
1

even =2,4,6,8

sum = 2+4+6+8

print(sum)

Similar questions