System.out.println("Please enter the length of the side: "); int side =kb.nextInt(); for (int i = 1; i <= side; i++ ) { for (int j = 1; j < i; j++ ) { System.out.print("X "); }
if
if ... else if ... else
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)