字母奔跑

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


========================================Talk is cheap, show me the code=======================================
posted @ 2018-02-27 16:03  绿叶萌飞  阅读(128)  评论(0编辑  收藏  举报