java-一个小练习
输出自己的姓名:
public class test01 { public static void main(String[] args) { System.out.println(" # # #"); System.out.println("# # # # # # #"); System.out.println(" # # # #"); System.out.println(" # # # # # #"); System.out.println(" # # # #"); System.out.println("# # # # # # #"); System.out.println(" # # # #"); System.out.println("# # #"); System.out.println(); System.out.println(" # # # # # #"); System.out.println(" # #"); System.out.println("# # # # # # # # # #"); System.out.println(" # # # # #"); System.out.println(" # # # # # #"); System.out.println(" # # # #"); System.out.println(" # # # # #"); System.out.println(" # # # #"); System.out.println(" # # # # # #"); System.out.println(" # # # #"); System.out.println(); System.out.println(" # # #"); System.out.println(" # # #"); System.out.println(" # # #"); System.out.println(" # # # "); System.out.println(" # # # "); System.out.println("# # # # # # # "); System.out.println(" # # #"); System.out.println(" # # # # # # #"); System.out.println(" #"); System.out.println(" # # # # # # # # # "); System.out.println(" #"); System.out.println(" #"); System.out.println(" #"); System.out.println(" #"); System.out.println(" #"); } }
结果: