[정올]1719번 별삼각형2(JAVA)
·
CodingTest/Jungol
0. 문제 링크 https://www.jungol.co.kr/problem/1719 JUNGOL history 최근 본 문제 www.jungol.co.kr 1. 문제 설명 1) 다음과 같은 삼각형 형태로 출력하기 2. 입출력 // input 5 1 // output * ** *** ** * 3. 코드 import java.util.*; public class jol1719 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); // 삼각형의 높이 int m = sc.nextInt(); // 삼각형의 종류 if(!(n > 0 && n = 1 && m = left && j < rig..