C语言编程 求解
1121
12321
1234321
12321
121
1
谢谢。
2011-12-09 20:40
程序代码:
int i=0,j=1;
for(i=0;i<=6;i++)
{for(j=0;j<=i;j++)
{
printf("%d",j);
}
for(j;j>=0;j--)
printf("%d",j);
printf("\n");
}
2011-12-09 22:32
2011-12-23 14:12