#833. while循环求余
while循环求余
以下程序段的输出结果是({{ input(1) }} )
int k=2;
while(k<7) 
{
    if(k%2) 
    {
        k=k+3;
        printf(“%d,”,k);
        continue;
    }
    k=k+1;
    printf(“%d,”,k);
}
以下程序段的输出结果是({{ input(1) }} )
int k=2;
while(k<7) 
{
    if(k%2) 
    {
        k=k+3;
        printf(“%d,”,k);
        continue;
    }
    k=k+1;
    printf(“%d,”,k);
}
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.