import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
int n = input.nextInt();
int i, j, k;
for (i = 1; i <= n; i++) {// 表示几行 正
for (j = 1; j <= n - i; j++)
// 空格的数目
System.out.print(" ");
System.out.print("+");
for (k = 1; k <= (i - 1) * 2 - 1; k++)
System.out.print("*");
if (i != 1)
System.out.print("+");
System.out.println();
}
for (i = n - 1; i >= 1; i--) {
for (j = 1; j <= n - i; j++)
System.out.print(" ");
System.out.print("+");
for (k = 1; k <= (i - 1) * 2 - 1; k++)
System.out.print("*");
if (i != 1)
System.out.print("+");
System.out.println();
}
}
}
import java.util.*;public class Main { public static void main(String args[]) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int i, j, k; for (i = 1; i &lt;= n; i++) {/...