public class Q2 { public static void main(String[] args) { Random random = new Random(); int[] arr = new int[6]; for (int j = 0; j < arr.length; j++) { arr[j] = random.nextInt(100); System.out.print(arr[j] + " "); } for (int i = 0; i < arr.length/2; i++) { System.out.println("\na[" + i + "]과 a[" + (arr.length - 1 - i) + "]를 교환합니다."); swap(arr, i, arr.length - i - 1); for (int j = 0; j < arr.leng..
public class Q15 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("직각 이등변 삼각형을 출력합니다."); System.out.print("출력할 단수 : "); int n = scanner.nextInt(); System.out.println("출력하고 싶은 삼각형을 입력하세요."); System.out.println("LB LU RB RU"); System.out.print("출력할 삼각형 : "); String triangle = scanner.next(); if (triangle.contains("LB")) { triangleLB(n); } else..
public class Q11 { // 양의 정수를 입력하고 자릿수를 출력하는 프로그램 public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("자릿수를 구할 양의 정수를 입력하세요."); int a; do { System.out.print("a : "); a = scanner.nextInt(); } while (a 0) { a /= 10; num++; } System.out.println("자릿수 : " + num); } } - 풀다가 모르겠어서 답 봄 ※참조 Do it! 자료구조와 함께 배우는 알고리즘 입문
- Total
- Today
- Yesterday
- BOJ
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- 이펙티브자바 아이템59
- js array
- JPA 연관관계 매핑
- JS 딥다이브
- 이펙티브자바 아이템60
- http
- GCP
- 이펙티브자바 스터디
- 백기선 스터디
- HTTP 완벽 가이드
- dreamcoding
- java
- 이펙티브자바
- 프로그래머스 SQL
- 백준
- js api
- 모던자바스크립트
- 킹수빈닷컴
- 패스트캠퍼스 컴퓨터공학 완주반
- HTTP 완벽가이드
- 집 구하기
- 드림코딩
- js promise
- 김영한 http
- 프로그래머스
- Spring Security
- REST API
- 김영한 JPA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |