https://www.acmicpc.net/problem/2438
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int N= Integer.parseInt(br.readLine()); // 1<=N<=100
for(int i =0; i<N; i++){
for(int j =0; j<=i; j++){
System.out.print("*");
}
System.out.println();
}
}
}코드를 입력하세요