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

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

> Hi C
> Haha logic is same this may be used in any p/l like java,csharp,vb.net
> ,c,c++,....
> Regards
> Anil Sriastava
> S/w Developer, India
>   On Wed, Jan 21, 2009 at 11:49 AM, Brandon Betances 
> <[email protected]>wrote:
>
>> haha. The header specifically says .NET group. C# or 
>> VB.NET<http://vb.net/>only please.
>>
>
>

Reply via email to