Yep you're getting there.
Start the loop with "a = 1". Also make sure your other loop starts at 1. Also, I think "==" takes precedence over "%", so it's best to modify your if statement to:
if...
Type: Posts; User: lamanna
Yep you're getting there.
Start the loop with "a = 1". Also make sure your other loop starts at 1. Also, I think "==" takes precedence over "%", so it's best to modify your if statement to:
if...
You should modify your loops so they start at 1 instead of 0. Using 0 with the mod operator(%) will probably crash your program.
To calculate a prime number in the simplest way you need to check...
I'm new to C so I hope this advice is useful. :)
When using "#define MAX 1000;" you don't need a semi-colon also declaring functions is done outside the main function. You'll also need to...