Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

To Find The Prime Number.

DZone's Guide to

To Find The Prime Number.

·
Free Resource
// 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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}