clear
n=0
for i=200 to 300
p=1
for j=2 to int(sqrt(i))
if i%j=0
p=0
exit
endif
endfor
if p=1
n=n+1
endif
endfor
共有素数个数:",n
return
clear
n=0
for i=200 to 300
p=1
for j=2 to int(sqrt(i))
if i%j=0
p=0
exit
endif
endfor
if p=1
n=n+1
endif
endfor
共有素数个数:",n
return