啊哈C语言第四章第二节

#include <stdio.h>
#include <stdlib.h>
int main()
{
    int a,b;
    a=1;
    while(a<=100)
    {
        printf("%d",a);
        a++;
    }
    b=99;
    while(b>=1)
    {
        printf("%d",b);
        b=b-1;
    }
    system ("pause");
    return 0;
}

猜你喜欢

转载自blog.csdn.net/weixin_42252769/article/details/80545226