Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- observable
- 안드로이드
- 리스트뷰
- 알고리즘
- 옵셔널
- 차이
- weak
- View
- 클로저
- 프로그래머스
- rx
- concurrency
- Subject
- 백준
- 자바
- 프로퍼티
- RxSwift
- 구조체
- 이스케이핑
- 해시
- noncopyable
- Self
- ios
- async
- 생명주기
- 스위프트
- 풀이
- 프래그먼트
- 연산자
- Swift
Archives
- Today
- Total
study record
[알고리즘-자바] 8진수, 16진수 출력 (코드업 기초100제 1031-1033) 본문
int number = sc.nextInt();
8진수 출력: System.out.printf("%o",number);
16진수 출력(소문자): System.out.printf("%x",number);
16진수 출력(대문자): System.out.printf("%X",number);
'알고리즘' 카테고리의 다른 글
[알고리즘-자바] charAt(), 아스키코드 변환(코드업 기초100제 1036,1037) (0) | 2021.01.14 |
---|---|
[알고리즘-자바] 8진수, 16진수 출력변환(코드업 기초100제 1034,1035) (0) | 2021.01.14 |
[알고리즘-자바] equals()와 ==의 차이(코드업 기초100제 1026) (0) | 2021.01.13 |
[알고리즘-자바] next()와 nextLine()의 차이점 (0) | 2021.01.13 |
[알고리즘-자바] String to int, String.format(), split() (코드업 기초100제 1019) (0) | 2020.11.06 |