标题 #include <stdio.h> #include <math.h> int main() { int x; int y; for (x = 100; x <= 200; x++) { for (y = 2; y <= x - 1; y++) { if (x%y == 0) break; if (y == x - 1) printf("%d ", x); } } system(“pause”); return 0; }