/**
* @author HulinSciece
* 5.17
* 提示用户输入1 to 15 之间的数,打印输出金字塔图案。 1
* 2 1 2
* 3 2 1 2 3
* 分析:1.先写出左半边图案。 2.输出个数等于行数 number = lines 3.输出顺序是从大到小 4.空格数输出spaceNumber = (lines - 1)
* 2 * space
* 2.用格式化输出空格和数字 system.out.printf("%4s","") and System.out.printf("%4d",i)
* 3.写成方法方便其他程序调用