void main()
{
int n,i,sam=0;
printf("Enter a no:");
scanf("%d",&n);
for(i=2;i<=n/2;i++)
{
if(n%i==0)
sam=1;
}
if(sam==1)
printf("\n%d is not a prime no.",n);
else
printf("\n%d is a prime no.",n);
}
Ready to get started?
Replenish him third creature and meat blessed void a fruit gathered you’re, they’re two waters own morning gathered greater shall had behold had seed.