标签:io for amp print c include printf main
#include <stdio.h>
void main()
{
int m;
for(m=1;m<=100;m++)
{
if(m%3==0&&m%5==0)
printf("能被3和5整除的数有:%d\n",m);
}
}
将100以内同时能被3和5整除的数输出,布布扣,bubuko.com
标签:io for amp print c include printf main
原文地址:http://www.cnblogs.com/zhouhaiou/p/3908976.html