#include<stdio.h> void main() { int t,i,j; for(i=2;i<=100;i++) { t=1; for(j=2;j<=(i/2);j++) { if(i%j==0) t=0; } if(t==1) printf("%d ",i); } }