C语言程序设计:各位大神看一下帮忙填一下中间的代码?

2025-03-25 00:41:39
推荐回答(1个)
回答1:

int i,b;
for ( b=1,i=2;i<=m/2;i++ ) if ( m%i==0 ) { b=0;break; }
return b;