Skip to content

Instantly share code, notes, and snippets.

@shoya140
Created November 21, 2013 21:02
Show Gist options
  • Save shoya140/7589563 to your computer and use it in GitHub Desktop.
Save shoya140/7589563 to your computer and use it in GitHub Desktop.
10 cls
20 for i = 1 to 100 step 1
30 for j = 2 to i/2 step 1
40 if i mod j = 0 then goto 60
50 next j
55 print i
60 next i
70 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment