프로그래머스
프로그래머스(JAVA) / 머쓱이보다 키 큰 사람
bokboks
2023. 4. 18. 23:33
간단한 문제입니다
class Solution {
public int solution(int[] array, int height) {
int answer = 0;
for(int forray : array) {
if(forray>height) {
answer++;
}
}
return answer;
}
}