알고리즘/백준
[java] 백준 2438
henry.hong
2019. 11. 29. 15:59
import java.util.Scanner;
public class P2438 {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int loop = s.nextInt();
for(int i = 0 ; i < loop ; i++){
for(int j = 0; j <= i ; j++)
System.out.print("*");
System.out.println("");
}
}
}