Java实现打印输出菱形 思路 把菱形分成两部分输出,然后拼接 Scanner sc = new Scanner(System.in); System.out.println("请输入一个整数:"); int n = sc.nextInt(); //菱形上半部分 for (int i = 1; i