看了啊哈c 自己用while循環靠感覺編寫的
只看了標題 並沒有看作者怎麼寫 算是原創吧
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
int a, b;
a = 1;
b = 0;
while(a < 100)
{
printf("H");
Sleep(1000);
system("cls");
a ++;
b = 1;
while(b < a )
{
printf(" ");
b ++;
}
}
{
int a, b;
a = 1;
b = 0;
while(a < 100)
{
printf("H");
Sleep(1000);
system("cls");
a ++;
b = 1;
while(b < a )
{
printf(" ");
b ++;
}
}
return 0;
}
}