
-----------------------------------
PMac
Sun Feb 22, 2004 1:33 pm

Prime Number Program
-----------------------------------
Does anyone know how to create a program that can detect when a number is prime? A prime number is an integer that has no factors other than one and itself.

-----------------------------------
Tony
Sun Feb 22, 2004 11:49 pm


-----------------------------------
well the tutorial on prime numbers is [url=http://www.compsci.ca/v2/viewtopic.php?t=297&highlight=prime]here source code is in turing though :? But it explains the consepts of different approaches so you should be able to understand.
