#827. dowhile循环
dowhile循环
以下程序段的输出结果是({{ input(1) }} )
int x=3;
do
{
printf("%-3d",x-=2);
}while(!(--x));
以下程序段的输出结果是({{ input(1) }} )
int x=3;
do
{
printf("%-3d",x-=2);
}while(!(--x));
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.