> 其他 >
输出1--100间不能被3 整除的数,用do-while结构循环语句
人气:373 ℃ 时间:2019-12-10 12:16:15
解答
int i = 1;
do
{
if (i % 3 == 0)
{
continue;
}
else
printf("%d", i );

i++;
}while(i
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版