What does the following program do? // Exercise 4.10: Printing.java public class Counting { public static void
Question:
What does the following program do? Transcribed Image Text:
// Exercise 4.10: Printing.java public class Counting { public static void main( String[] args) { Scanner s = new Scanner (System.in); for (int i 1; 1 < 3; i++) = i { for (int j = 1; j < 5; j++) System.out.print('*'); System.out.println(" #####"); }// end outer for loop }// end main } // end class Counting
Fantastic news! We've Found the answer you've been seeking!