+ 4
đ€i guess this is it
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c=0;
printf("Enter a number");
scanf("%d",&a);
for(b=2;b<a;b++)
{
if(a%b==0)
{
c=1;
break;
printf("Number is not prime");
}
else
{
c=0;
printf("Number is prime");
}
}
getch();
}