|
-
Apr 24th, 2006, 05:56 AM
#1
Thread Starter
Hyperactive Member
Primes
Hey
Anyone know an algorithum for checking if a number is a prime?
Thanks
KAZAR
The Law Of Programming:
As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
__________________________________
www.startingqbasic.co.uk
-
Apr 24th, 2006, 12:21 PM
#2
Hyperactive Member
-
Apr 25th, 2006, 02:34 AM
#3
Thread Starter
Hyperactive Member
Re: Primes
Thanks francisstokes, that helped, wrote a program that calculates 1 million primes in 5 minutes. Is that good or bad?
KAZAR
The Law Of Programming:
As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
__________________________________
www.startingqbasic.co.uk
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|