C语言编程出错

日期:2022-04-01 22:01:42 人气:1

C语言编程出错

int prime(int n)
{
int i;
for(i=0;i<n/2;i++)
if(n%i==0)return 0; // 不能对0取余
return 1;
}
    A+
热门评论