/*韩信点兵*/ #include"stdio.h" void main() { int i=900; for ( i=900; i<=1100; i=i++ ) if ( i%3==1&&i%5==1&&i%7==1 ) { printf ( "满足条件的值为:%d\n",i ); break; } }