whilest.c

来自「里面包含很多c语言的源码」· C语言 代码 · 共 21 行

C
21
字号
/* Demonstrates a simple while statement */

#include <stdio.h>

int count;

int main( void )
{
    /* Print the numbers 1 through 20 */

   count = 1;

    while (count <= 20)
    {
        printf("%d\n", count);
        count++;
    }
    return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?