质数:一个大于1的自然数,除了1和它本身以外,不能被其他数整除,那么这个数就称为质数。 源代码: #include<iostream> #include<math.h> using namespace std; int main(){ int i,j,k=