总结:看图
+---+---+
| | |
| | |
+---+---+
*/
package com.aaa; //在屏幕上显如下网格 public class adga { public static void main(String[] args) { System.out.println("+---+---+"); System.out.println("| | |"); System.out.println("| | |"); System.out.println("| | |"); System.out.println("+---+---+"); System.out.println("*/"); } }
觉的看到图的时候好难下手,结果啊,结果那么一行代码输出,是我想太复杂,还是太简单了啊