Skip links

  • Skip to primary navigation
  • Skip to content
  • Skip to footer
Wang's Blog
  • About
  • Categories
  • Tags
    Jaewang Lee

    Jaewang Lee

    꾸준함은 모든 것을 이긴다.

    • Cheong-Ju, South Korea
    • Email
    • GitHub
    • Instagram
    • 📂 전체 글 수 117 개
    • Me
      CS
      DATABASE
      • DB (2)
      Coding Test
      • 프로그래머스 (113)
      Git & Github
      • Markdown (1)

    업데이트: April 28, 2022

    📚 평균 구하기

    링크📎 : https://programmers.co.kr/learn/courses/30/lessons/12944

    난이도 ⭐️

    📖 문제

    이미지

    📝 내 풀이

    class Solution {
        public double solution(int[] arr) {
            double answer = 0;
            
            for(int i : arr)
                answer += i;
            
            answer /= arr.length;
            
            return answer;
        }
    }
    

    끝-!

    업데이트: April 28, 2022

    공유하기

    Twitter Facebook LinkedIn
    이전 다음

    댓글남기기

    참고

    ORACLE

    ORACLE에 대해서 알아보자

    데이터 베이스란?

    데이터 베이스의 본질은 무엇인가

    [프로그래머스] [LV2] 후보키

    Java로 풀이

    [프로그래머스] [LV2] 메뉴 리뉴얼

    Java로 풀이

    • 팔로우:
    • 피드
    © 2022 Jaewang Lee. Powered by Jekyll & Minimal Mistakes.