ScratchData LogoScratchData
Back to will-n-alex's profile

Primes

WIwill-n-alex•Created December 14, 2007
Primes
0
1
40 views
View on Scratch

Description

This cat checks whether a number is prime or composite. If you download this program, you can change the slider range to go higher than 100. We've tested it with some ridiculously high numbers and it seems to work, though it's hard to predict when it will suddenly take a LONG time to give you an answer. Challenges: 1. Can you figure out why the program does what it does? 2. Can you figure out a faster way to do it (lookukp tables are cheating!).

Project Details

Project ID66921
CreatedDecember 14, 2007
Last ModifiedDecember 14, 2007
SharedDecember 14, 2007
Visibilityvisible
CommentsAllowed