https://www.acmicpc.net/problem/1008
풀이
import java.util.Scanner;
public class bj1008 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
double a = in.nextInt();
double b = in.nextInt();
System.out.println(a/b);
}
}
'Algorithm > BOJ' 카테고리의 다른 글
[BOJ] 백준 10926(??!) -Java (0) | 2022.06.23 |
---|---|
[BOJ] 백준 10869(사칙연산) -Java (0) | 2022.06.23 |
[BOJ] 백준 10998(A x B) - Java (0) | 2022.06.23 |
[BOJ] 백준 1001(A-B) - Java (0) | 2022.06.23 |
[BOJ] 백준 1000(A+B) - Java (0) | 2022.06.23 |