do-while

执行下面的代码,进行条件循环。

#include <stdio.h>

int main(int argc, char const *argv[])
{
    int i = 9;
    do
    {
        printf("%d\n", i);
        i--;
    } while (i);
    return 0;
}

results matching ""

    No results matching ""