์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 30 | 31 |
- ๋จ์ถํค
- python
- ๋งฅ
- pyqt
- Android
- FastAPI
- ๋ฐฐ์ด
- ibatis
- ddit
- ์๋ฐ๋ฌธ์
- ๋๋์ธ์ฌ๊ฐ๋ฐ์
- Error
- crud
- ์๋ฐ
- ๊ฐ์ฒด์งํฅ
- ์ปฌ๋ ์ ํ๋ ์์ํฌ
- Oracle
- API
- Mac
- jsp
- ๋ฐ๋ณต๋ฌธ
- JDBC
- Homebrew
- ์ํ์ฝ๋ฉ
- ์ดํด๋ฆฝ์ค
- servlet
- Java
- spring
- nodejs
- html
- Today
- Total
๋ชฉ๋ก์๋ฐ๋ฌธ์ (3)
romworld
๋ฌธ์ 1 System.out.println("----------------"); System.out.println("*****"); System.out.println("*****"); System.out.println("*****"); System.out.println("----------------"); // ์์ ๋ณ์ for๋ฌธ์ ์ด์ฉํด ์ฐ์ด๋ณด์ธ์. for(int i = 1; i

๋ฌธ์ 1 : ์ผ๊ฐํ ํ๋ณ Scanner sc = new Scanner(System.in); System.out.println("์ผ๊ฐํ์ ์ฒซ๋ฒ์งธ ๋ณ์ ๊ธธ์ด๋ฅผ ์ ๋ ฅํ์ธ์: "); int a = Integer.parseInt(sc.nextLine()); System.out.println("์ผ๊ฐํ์ ๋๋ฒ์งธ ๋ณ์ ๊ธธ์ด๋ฅผ ์ ๋ ฅํ์ธ์: "); int b = Integer.parseInt(sc.nextLine()); System.out.println("์ผ๊ฐํ์ ์ธ๋ฒ์งธ ๋ณ์ ๊ธธ์ด๋ฅผ ์ ๋ ฅํ์ธ์: "); int c = Integer.parseInt(sc.nextLine()); if((a + b) > c && (a + c) > b && b + c > a) { System.out.println("์ผ๊ฐํ์ ๋ง๋ค ์ ์์ต๋๋ค.")..

๋ฌธ์ 1 package sec03.exam01; import java.util.Scanner; public class hello { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("์ ์๋ฅผ ์ ๋ ฅํ์ธ์ >> "); int x = sc.nextInt(); System.out.println(x % 2 == 0 ? "์ง์" : "ํ์"); } } ๋ฌธ์ 2 (์ผํญ์ฐ์ฐ์๋ฅผ ์ฌ์ฉํ์ฌ) package sec03.exam01; import java.util.Scanner; public class hello { public static void main(String[] args) { Scanner ..