I write a QBASI program to find the sum of all the the even numbers from 1 to 50
Answers
Answered by
1
Answer:
10 REM 'Program to find the sum of even number be 10 and 5'
20 cls
30 left s = 10
40 FOR I = 10 to 50 step 2
50 left s =s+i
60 next i
70 print "the sum of the number is"; s
80 end
Similar questions