왜 Runtime Error가 걸리는지 모르겠습니다.

YoonYoungJoon Reply 6 years 33 weeks ago
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int M = input.nextInt(); int H = (M * 393701/10000)/12; int I = (M * 393701/10000)-12*H; System.out.println(H); System.out.println(I); } } 이걸 intellij에 돌리면 잘 출력 되는데 여기에 돌리면 런타임에러가 걸리는지 모르겠네요...ㅠ
onacloud Reply 6 years 33 weeks ago
입력은 실수값이에요