小人

#include<stdio.h>
#include<stdlib.h>
#include<windows.h>
int main()
{
    int a,b;
    a=1;
    while(a<=100)
    { system("cls");
    
        
        b=1;
        while(b<=a)
        {
            printf(" ");
            b=b+1;
    
        }
    printf(" o ");
    
    
    b=1;
        while(b<=a)
        {
    
            printf(" ");
            b=b+1;
    
        }
        printf("<H> ");
        
        
    b=1;
        while(b<=a)
        
            {    printf(" ");
            b=b+1;
    
        }
        printf("I I ");
    Sleep(100);
    a=a+1;

}
    return 0;
}

原文地址:https://www.cnblogs.com/Cathycat/p/11210024.html