2.
for i=10 to 500 step 2
sum=sum+i
next i
print sum
3.
for i=200 to 1000
if i mod 3+i mod 5=0 then sum=sum+i
next
print sum
5.
for i=1 to 3000
if i mod 17=0 or i mod 23=0 then j=j+1
next
print j
6.
for i=100 to 650
if i mod 3+i mod 7=0 then j=j+1
next
print j
7.
i=2
do while sum