int counter=0;
for(int i = 1; i <= n; i++)
{
if(n%2 == 0)
{
printf("%d", is a prime number\n");
}
if(counter=2)
printf("It is prime no");





2009/1/21 Brandon Betances <[email protected]>

>
> learn this:
>
>  http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
>

Reply via email to