각도기1 프로그래머스 0. 각도기 (자바) 각 조건에 따른 결과를 조건문에 담아 반환하면 된다. class Solution { public int solution(int angle) { int answer = 0; if (angle 90 && angle < 180) { answer = 3; } else { answer = 4; } return answer; } } 2023. 9. 21. 이전 1 다음 728x90