#include<stdio.h>
```c
```void js(int x);
int main()
{
int a;
for (a = 100; a < 1000; a++)
js(a);
return 0;
}
void js(int x)
{
int k = 0;
int b = 0;
int i, j;
int x1, x10, x100;
x100 = x % 100;
x1 = x % 10;
x10 = x / 10 % 10;
for (i = 2; i <= x; i++)
{
if (x % i == 0)
k = 1;
}
j = x1 * 100 + x1 + x10 * 10;
for (i = 2; i <= j; i++)
{
if (j % i == 0)
b = 1;
}
if (k == 0 && b == 0)
printf("%d%d是绝对素数\n", x, j);
}