HomePattern simple asterisk pattern September 19, 2023 0 public class SimpleAsterisk { public static void main(String[] args) { for (int i = 0; i < 6; i++) { for (int j = 0; j < 6; j++) { System.out.print("* "); } System.out.println(); } }} You Might Like View all
Post a Comment