手写代码:写一个程序算出100以内7的倍数
参考回答:
void beishu() { int i ; i=7; while(i<=100) { if((i%7)==0) printf("%d",i); i+=7; } }
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题