C语言实验——打印数字图形
Time Limit: 1000MS Memory Limit: 65536KB
Submit Statistic
Problem Description
从键盘输入一个整数n(1≤n≤9),打印出指定的数字图形。
Input
正整数n(1≤n≤9)。
Output
指定数字图形。
Example Input
5
Example Output
1
121
12321
1234321
123454321
1234321
12321
121
1
Hint
Author
#include<stdio.h>
#include<math.h>
int main()
{
int n,i,j;
scanf("%d",&n);
for(i = 1;i <= n;i++)//上半层输出;
{
for(j &#