#include<stdio.h> #include <stdlib.h> #include <math.h> int prime(int num); int reverse(int num); int main(void) { int number1=0; int number2=0; int a=0; scanf("%d",&a); number1=prime(a); number2=reverse(a); if (number1==1&number2==1) { printf("this number is a emirp!\n"); } else { printf("this number is not a emirp!\n"); } ; system("pause"); return 0; } int prime(int num) { int a; int e; scanf("%d",&a); for (int i=2;i<=(num/2);i++) { float a=num%i; if (a!=0) { continue; } else { e=0; break; } } if (a%(a/2)!=0)