I don't see you assigning a value to "n" in the IsPrime function.
Should "n = arg?"
Or do you want to use "arg - 1" instead of "n - 1?"
|
Results 1 to 40 of 52
Thread: [RESOLVED] Prime number codeThreaded View
|
Click Here to Expand Forum to Full Width |