Banner

My Tech Blog (์—ฌ๋Ÿฌ๊ฐ€์ง€)

ํ–‰์˜ ๊ฐฏ์ˆ˜๋ฅผ ์ž…๋ ฅ๋ฐ›์•„์„œ ๋‹ค์–‘ํ•œ ๋ชจ์–‘์œผ๋กœ ์ฝ˜์†”์— ๋ณ„์„ ์ฐ์–ด ๋ณด์ž! 1. ๊ธฐ๋ณธ ๋ณ„์ฐ๊ธฐimport java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("ํ–‰์˜ ๊ฐœ์ˆ˜๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”: "); int rows = scanner.nextInt(); for (int i = 0; i < rows; i++) { for (int j = 0; j < rows; j++) { System.out.print("*"); } System.out.println(); } } } 2. ์™ผ์ชฝ ์‚ผ๊ฐํ˜• ๋ณ„ ์ฐ๊ธฐimport java.util.Scanner;..
์ธ์ ˆ๋ฏธ์˜€๋˜๊ฒƒ
'์—ฌ๋Ÿฌ๊ฐ€์ง€' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก
์ƒ๋‹จ์œผ๋กœ