top row middle section bottom row ================================= equal-signs row middle section equal-signs row ================================== print("+") print SIZE equals println("+") middle section print("+") print SIZE equals println("+") =============================== print("+") for (int i = 1; i <= SIZE; i++) print("=") println("+") middle section print("+") for (int i = 1; i <= SIZE; i++) print("=") println("+") ====================================== middle section print SIZE star-rows for (int i = 1; i <= SIZE; i++) print the ith star-row for (int i = 1; i <= SIZE; i++) print("#") print ?? spaces print("*") print ???? spaces println("#") for (int i = 1; i <= SIZE; i++) print("#") print i - 1 spaces print("*") print SIZE - i spaces println("#") for (int i = 1; i <= SIZE; i++) print("#") for (int j = 1; j <= i - 1; j++) print(" ") print("*") for (int j = 1; j <= SIZE - 1; j++) print(" ") println("#")