[코딩뱃] [자바] Warmup - 1단계 : makes10 문제
https://codingbat.com/prob/p182873 CodingBat Java Warmup-1 makes10 Given 2 ints, a and b, return true if one if them is 10 or if their sum is 10.makes10(9, 10) → truemakes10(9, 9) → falsemakes10(1, 9) → trueGo...Save, Compile, Run (ctrl-enter)Show Solution codingbat.com = 문제 번역 = 2개의 int a와 b가 주어졌을 때, 하나가 10이거나 합이 10이면 true를 반환합니다. = 해설 = public boolean makes10(int a, int b) { if(a==10||b=..
코딩테스트/Coding Bat
2021. 9. 17.