언어, 알고리즘 공부/백준2018. 9. 19. 17:13[백준 알고리즘] 1008번 (java)
123456789101112131415import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int ia = sc.nextInt(); int ib = sc.nextInt(); double da = (double)ia; double db = (double)ib; System.out.println(da/db); }}Colored by Color Scriptercs