Topic: 打印两个奇怪图形 |
Print this page |
1.打印两个奇怪图形 | Copy to clipboard |
Posted by: sunny30000 Posted on: 2004-08-01 01:39 public class Println { public static void main(String[] args) { System.out.print(" ### " + "\t" + "\t"); System.out.println(" # "); System.out.print(" # # " + "\t" + "\t"); System.out.println(" ### "); System.out.print("# #" + "\t" + "\t"); System.out.println("#####"); System.out.print("# #" + "\t" + "\t"); System.out.println(" # "); System.out.print("# #" + "\t" + "\t"); System.out.println(" # "); System.out.print("# #" + "\t" + "\t"); System.out.println(" # "); System.out.print(" # # " + "\t" + "\t"); System.out.println(" # "); System.out.print(" ### " + "\t" + "\t"); System.out.println(" # "); } } 以产代码执行后会打印两个形状.有兴趣的朋友可以试试.很好玩的. 未命名.rar (6.06k) |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |