import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(scanner.nextDouble()/scanner.nextDouble());
}
}
핵심
나누기는 /
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(scanner.nextDouble()/scanner.nextDouble());
}
}
나누기는 /