Write an algorithm to draw a flowchart printing even numbers 2 to 20
Answers
Answered by
6
sum=0
count=1
repeat
if count is even Then sum is=sum+count
count=count+1
Until count>20
display sum
count=1
repeat
if count is even Then sum is=sum+count
count=count+1
Until count>20
display sum
Similar questions