#include<stdio.h>
void main(int argc,char *argv[])
{
int i;
for(i = 1; i <= 200; i++)
{
if(i % 3 == 0 && i % 5 == 0)
printf("%d\n",i);
}
}
【c语言】查找200以内既是3的倍数又是5的倍数的数
猜你喜欢
转载自blog.csdn.net/qq_41666142/article/details/104796783
今日推荐
周排行