public class Star03 {

	public static void main(String[] args) {
		int in = 5;
		for(int line = 0; line < in; line++) {
			for(int j = in; j > 0; j--) {
				System.out.print(j <= line + 1 ? "*" : " ");
			}
			System.out.println("");
		}
	}

}

+ Recent posts