Int a;
Int main ()
{
Int b;
Int s (int x);
Printf (" please enter a number: ");
The scanf (" % d ", & amp; B);
A=s (b);
If (a=1)
{
Printf (" % d is a prime number ", b);
}
Else if (a=0)
{
Printf (" % d is not a prime ", b);
}
return 0;
}
Int s (int x)
{
For (int I=3; i<=x; I=I + 2)
{
If (x % 2!=0 & amp; & X % I!=0)
{
return 1;
}
The else
{
return 0;
}
}
}