๋ชฉ์ฐจ https://school.programmers.co.kr/learn/courses/30/lessons/120831?language=java class Solution { public int solution(int n) { int answer = 0; for(int i = 1; i<= n; i++){ if (i%2 == 0){ answer += i; } } return answer; } } ๊ณต์ ํ๊ธฐ ๊ฒ์๊ธ ๊ด๋ฆฌ Hello World! and You ์ ์์ํ์ ๋น์๋ฆฌ ๋ณ๊ฒฝ๊ธ์ง ๋ชฉ์ฐจ ๋ชฉ์ฐจ ๋ซ๊ธฐ