Skip to content

Commit cc4c399

Browse files
authored
src
1 parent 5ab2c52 commit cc4c399

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/codeup100/c1031.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package codeup;
2+
3+
import java.util.Scanner;
4+
5+
public class c1031 {
6+
public static void main(String[] args) {
7+
Scanner sc = new Scanner(System.in);
8+
System.out.println("8진수로 변환할 10진수 입력 : ");
9+
int num = sc.nextInt();
10+
sc.close();
11+
12+
System.out.printf("%o", num);
13+
}
14+
}
15+
16+
17+
// printf() 함수의 f는 formatted의 약자

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy