두 수의 나눗셈

화낼거양's avatar
Nov 19, 2024
두 수의 나눗셈
Contents
문제정답
 
 
 

문제

 
notion image
 
기본적으로 주어진 코드 :
 
class Solution { public int solution(int num1, int num2) { int answer = 0; return answer; } }
 

정답

 
class Solution { public int solution(int num1, int num2) { return (int) (1000.0*num1/num2); } }
 
Share article

moohyun