If your original problem statement is correct, then you need to continue the program until you find 100 prime numbers, not just those between zero and 100.
You don't need to compare a boolean to...
Type: Posts; User: GregBrannon
If your original problem statement is correct, then you need to continue the program until you find 100 prime numbers, not just those between zero and 100.
You don't need to compare a boolean to...
Please read the Announcement topic at the top of the sub-forum to learn how to post code in code or highlight tags and other useful info for newcomers.
First, simplify what you have to an...