。*:・゚☆・゚schedule・゚*:・゚★・:*:・☆ *:・゚★/나의 코딩테스트
[프로그래머스/Java] 코딩테스트 Lv.0 나이 출력
yeonee 여니
2023. 6. 24. 23:35
728x90
반응형
SMALL
안녕하세요.
https://blog.naver.com/sysysy0302 여니입니다 :)
<나의 문제풀이>
class Solution {
public int solution(int age) {
int answer = 0;
int a = 2022;
int b = age-1;
answer = a-b;
return answer;
}
}
그외 문제풀이
풀이1)
풀이2)
풀이3)
풀이4)
풀이5)
728x90
반응형
LIST