#include<stdio.h>
#include<string.h>
#include<Windows.h>
int main()
{
	char arr1[]="welcome to college";
	char arr2[]="##################";
	int l=0;//元素的左下标
	int r=strlen(arr1)-1;//元素的右下标
	while(l<=r)
	{
		arr2[l]=arr1[l];
		arr2[r]=arr1[r];
		printf("%s\n",arr2);
		l++;
		r--;
		Sleep(1000); //使程序可以停留1000毫秒
	}
	return 0;
}