#include <stdio.h>
#include <string.h>
#include <math.h>
int isP(int x){
if(x<=1) return 1;
for(int i=2;i<=sqrt(x);i++){
if(x%i==0) return 0;
}
return 1;
}
int main()
{
printf("素数有:");
for(int i=1;i<=100;i++){
if(isP(i)==1)
printf("%d ",i);
}
return 0;
}