Problem 5
Describe the four basic elements of counter-controlled repetition.
Problem 10
What does the following program do? 1 // Exercise 5.10: Printing.java 2 public class Printing 3 { 4 public static void main(String[] args) 5 { 6 for (int i = 1; i <= 10; i++) 7 { 8 for (int j = 1; j <= 5; j++) 9 System.out.print('@'); 10 11 System.out.println(); 12 } 13 } 14 } // end class Printing