Sederhana Tulis Program Java Sederhana Yang Mencetak Tangga atau Sosok Seperti
for(int row = 0; row < noOfLines; row++) {
for(int col = 0; col < noOfLines; col++) {
if(col < noOfLines - row -1)
System.out.print(" ");
else
System.out.print("#");
}
System.out.println();
}
Uptight Unicorn