wa 이유가 궁금합니다

minsang9 Reply 5 years 32 weeks ago
Scanner input = new Scanner(System.in); double R, L, A, V; R = input.nextDouble(); L = input.nextDouble(); A = R * R * 3.14159; V = A * L; System.out.printf("%.1f\n",A); System.out.printf("%.1f\n",V); 예제와 같이 5.5, 12 를 넣으면 컴파일결과가 95.0 1140.4 로 나오는데 문제가뭘까요..?
minsang9 Reply 5 years 32 weeks ago
버림을 감빡했네요
onacloud Reply 5 years 32 weeks ago
축하해요