Ok, that's one...find the rest!

...Glenn

On Wed, Jan 21, 2009 at 11:15 PM, Anil Kumar <[email protected]> wrote:

> //Program to check prime no's  ranging from 2 to given number
> for(int i = 2; i <= n; i++)
> {
> *if(i%2 == 0)
> * {
> printf("%d", is a prime number\n");
> counter=counter +1;
>
> }
> if(counter=2)
> printf("It is prime no");
>

Reply via email to