#include <iostream.h> void main() { int z,k; k=125; for(z=2;z<=k;z++) {if(k%z!=0) break; } if(z>k) cout<<'是素数'<<endl; if(z<k) cout<<'不是素数'<<endl; }