Thread
:
Prime Numbers In C
View Single Post
Nov 2nd, 2004, 9:56 AM
#
5
Pizentios
Programming Guru
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power:
7
Quote:
That above example would state that numbers such as 9, 15 and 27 were prime - they're not.
Correct, i didn't do much testing on that code. Heh, now i look like an idiot.
__________________
Profanity is the one language that all programmers understand.
Check out my
Blog
<---updated Nov 30 2007!
Pizentios
View Public Profile
Visit Pizentios's homepage!
Find More Posts by Pizentios