//File: Triangle.java public class Triangle { public static void main (String [] args) { for (int row=0; row < 10; row++) { //Print a line of *'s for (int col = 0; col < row+1; col++) { System.out.print ("*"); } System.out.println(); //go to next line } } }