/* 다음과 같은 모양 만들기
5
454
34543
2345432
123454321
*/
public class ForTest {
public static void main(String[] args) {
for (int i = 0; i < 5; i++)
{
for (int j = 0; j < 4-i; j++)
System.out.print(" ");
for (int j = 5-i; j <= 5 ; j++)
System.out.print(j);
for (int j = 0; j < i; j++)
System.out.print(4-j);
System.out.println();
}
}
}