728x90 ๋ฐ์ํ ์๋ฐ ๋ฐฑ์ค 10991๋ฒ1 [java ๋ฐฑ์ค] ๋ธ๋ก ์ฆ 3/ 10991๋ฒ ๋ณ์ฐ๊ธฐ -16 https://www.acmicpc.net/problem/10991 10991๋ฒ: ๋ณ ์ฐ๊ธฐ - 16 ์์ ๋ฅผ ๋ณด๊ณ ๊ท์น์ ์ ์ถํ ๋ค์ ๋ณ์ ์ฐ์ด ๋ณด์ธ์. www.acmicpc.net 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); if (num == 1) { System.out.println("*"); } else { for (int i = 1; i 2021. 7. 26. ์ด์ 1 ๋ค์ 728x90 ๋ฐ์ํ