#829. 循环及奇偶判断
循环及奇偶判断
以下程序段的输出结果是({{ input(1) }} )
int i,x;
for(i=1;i<=5;i++)
{
if (i%2) printf("*");
else continue;
printf("#");
}
printf("$\n");
以下程序段的输出结果是({{ input(1) }} )
int i,x;
for(i=1;i<=5;i++)
{
if (i%2) printf("*");
else continue;
printf("#");
}
printf("$\n");
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.