Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Prime Number Program
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
PMac




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sun Feb 22, 2004 11:49 pm   Post subject: (No 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: