프로그래머스

https://school.programmers.co.kr/learn/courses/30/lessons/120802 class Solution { public int solution(int num1, int num2) { return num1 + num2; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120829 class Solution { public int solution(int angle) { if (0 < angle && angle < 90) return 1; else if (angle == 90) return 2; else if (90 < angle && angle < 180) return 3; else return 4; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120806 class Solution { public int solution(int num1, int num2) { double answer = (double) num1 / num2 * 1000; return (int)answer; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120807 class Solution { public int solution(int num1, int num2) { if(num1==num2) return 1; else return -1; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120820 class Solution { public int solution(int age) { return 2022-age+1; } }
https://school.programmers.co.kr/learn/courses/30/lessons/120805 class Solution { public int solution(int num1, int num2) { return num1 / num2; } }
문제링크 - 프로그래머스 - 두 수의 차 class Solution { public int solution(int num1, int num2) { int answer = 0; return answer; } }
daxx0ne
'프로그래머스' 태그의 글 목록 (10 Page)