inblog logo
|
stupefyee
    알고리즘문제풀기

    [JAVA 문제 풀이] 나이 출력

    Stupefyee's avatar
    Stupefyee
    Nov 17, 2024
    [JAVA 문제 풀이] 나이 출력
    Contents
    코드
    notion image

    코드

    💡
    public class Solution { public int solution(int age) { int year = 2022; year -= age - 1; int answer = year; return answer; } }
    Share article
    Contents
    코드

    stupefyee

    RSS·Powered by Inblog