Over a million developers have joined DZone.

To Find The Prime Number.

·
// description of your code here


{
int a,b;
printf("enter the starting no:\t");
scanf("%d",&a);
printf("enter the final no:\t");
scanf("%d",&b);
clrscr();
printf("The Prime Numbers Are\n");
for(a;a<=b;a++)
{
if(a%2)
{
printf("%d",a);
}
}
getch();
}


Regards'
Link building uk
Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}