#includeusing namespace std;int main(){ int i,j; cout<<"请输入一个数:"; cin>>i; for(j=2;j { if(i%j==0) break; } if(i==j) cout< else cout< return 0;}