Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
numFound := 0.
|
||||
idx := 42.
|
||||
[:exit |
|
||||
idx := idx + 1.
|
||||
idx isPrime ifTrue:[
|
||||
numFound := numFound + 1.
|
||||
'%d %20d\n' printf:{numFound . idx} on:Transcript.
|
||||
idx := idx + idx - 1.
|
||||
numFound == 42 ifTrue:exit
|
||||
].
|
||||
] loopWithExit.
|
||||
Loading…
Add table
Add a link
Reference in a new issue