dim i as integer, a as integer,b as integer,cas string, d as integer,j(10) as integer
c=""
d=0
for i= 1 to 10
randomize
j(i)= int(rnd*81+10)
a =int(sqn(j(i)))
for b=2 to a
if j(i) mod b=0 then
exit for
else
d=d+1
end if
next b
c=c&str(j(i))
next i
text1.text=c
text2.text=d