From c6c9552cc12e8105fa86553a47a8d27840b1c008 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 19 Nov 2024 06:42:12 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=8A=88=20#307=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=86=94=EB=A3=A8=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...35\230_\355\217\211\352\267\240\352\260\222.cpp" | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 "Programmers/\353\260\260\354\227\264\354\235\230_\355\217\211\352\267\240\352\260\222.cpp" diff --git "a/Programmers/\353\260\260\354\227\264\354\235\230_\355\217\211\352\267\240\352\260\222.cpp" "b/Programmers/\353\260\260\354\227\264\354\235\230_\355\217\211\352\267\240\352\260\222.cpp" new file mode 100644 index 0000000..04e14f7 --- /dev/null +++ "b/Programmers/\353\260\260\354\227\264\354\235\230_\355\217\211\352\267\240\352\260\222.cpp" @@ -0,0 +1,13 @@ +#include +#include + +using namespace std; + +double solution(vector numbers) { + double avg = 0; + for (int n : numbers) { + avg += n; + } + + return avg / numbers.size(); +} \ No newline at end of file