a) A.java public class A { public static void main(String[] args) { for (int i = 0; i <= 8; i++) { for (int j = 0; j < i; j++) { System.out.print(\" # \"); } System.out.println(\" \"); } } } __________________________________________________ Output: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ____________________________________________________ b) B.java public class B { public static void main(String[] args) { for (int i = 8; i >= 1; i--) { for (int j = 0; j < i; j++) { System.out.print(\" # \"); } System.out.println(\" \"); } } } ______________________________________________ Output: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ____________________________________________________ C) C.java public class C { public static void main(String[] args) { for (int i = 0; i < 8; i++) { for (int j = 1; j <= 8; j++) { if (i < j) System.out.print(\"# \"); else System.out.print(\" \"); } System.out.println(); } } } ________________________________________________ Output: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ___________________________________________________ d) D.java public class D { public static void main(String[] args) { for (int i = 8; i >= 0; i--) { for (int j = 0; j < 8; j++) { if (i > j) System.out.print(\" \"); else System.out.print(\" #\"); } System.out.println(\" \"); } } } ___________________________________ Output: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # _____________________________________________ e) E.java public class E { public static void main(String[] args) { int n = 7; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if ( (i==0) || (j==0) || (i == n - 1) || (j == n - 1) ) { System.out.print(\" #\"); } else { System.out.print(\" \"); } } System.out.println(); } } } _______________________________________ Output: # # # # # # # # # # # # # # # # # # # # # # # # _____________________________________ f) package org.students; public class F { public static void main(String[] args) { int n = 7; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if ( (i==j) || (i==0) || (i == n - 1)) { System.out.print(\" # \"); } else { System.out.print(\" \"); } } System.out.println(); } } } _______________________________________________ Output: # # # # # # # # # # # # # # # # # # # _____________________________________________ g) G.java public class G { public static void main(String[] args) { int n = 7; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if ( (i==0) || (i == n - 1) || (i + j == n - 1) ) { System.out.print(\" # \"); } else { System.out.print(\" \"); } } System.out.println(); } } } _______________________________________ Output: # # # # # # # # # # # # # # # # # # # _____________________________________________ h) H.java public class H { public static void main(String[] args) { int n = 7; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if((i == 0) || (i == j) || (i + j == n - 1) .