|
-
Sep 5th, 2012, 03:37 PM
#1
Thread Starter
New Member
Prime number generator
Hi,
My problem is that i need to generate the first 25 prime numbers and output them, i have seen various bits of code using the "mod" operator but im not sure how this works
no input should be required for this program it just needs to identify a prime number and display the first 25
although this is my first time posting here any help would be appreciated.
Thanks,
Craig
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
|