Computer Science, asked by supershreyadec07, 7 months ago

Write a QBASIC program to display sum of all even numbers from 1 to 20
using DO WHILE LOOP.

Answers

Answered by HBSSubhash
8

Answer:

sum = 0

I = 1

while i>20:

if i%2==0:

sum+=1

I+=1

print(sum)

Explanation:

Mark my answer as brainliest and thank me

Similar questions