Computer Science Canada

Prime Number Program

Author:  PMac [ Sun Feb 22, 2004 1:33 pm ]
Post subject:  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.

Author:  Tony [ Sun Feb 22, 2004 11:49 pm ]
Post subject: 

well the tutorial on prime numbers is here source code is in turing though Confused But it explains the consepts of different approaches so you should be able to understand.