//December 17,2014 By 12052010
#include
#include
bool isPrime(int num){
for(int i=2;i<=sqrt(num);i++)
if(num%i==0) return false;
return true;
}
int main(){
int num;
printf("\nInput your num: ");
scanf("%d",&num);
if(isPrime(num))
printf("\nIt is ");
else
printf("\nNO ,it isn't");
return 0;
}