The smaller one · 더 작은 값 찾기
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
English
The smaller one
Return the smaller value. An if can compare them: if a < b, return a, else return b.
한국어
작은 값(the smaller one)
작은 값을 반환합니다. if로 비교할 수 있습니다: a < b일 경우 a를, 그렇지 않을 경우 b을 반환합니다.
Complete int min2(int a, int b): return the smaller of a and b. · int min2(int a, int b)을 완성하여 a과 b 중 더 작은 값을 반환하도록 하십시오.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.