8 kyu
Get the mean of an array
42,946 of 88,731AzariasB
Description:
It's the academic year's end, fateful moment of your school report. The averages must be calculated. All the students come to you and entreat you to calculate their average for them. Easy ! You just need to write a script.
Return the average of the given array rounded down to its nearest integer.
The array will never be empty.
Arrays
Algorithms
Similar Kata:
Stats:
Created | Nov 7, 2015 |
Published | Nov 7, 2015 |
Warriors Trained | 109161 |
Total Skips | 3597 |
Total Code Submissions | 190598 |
Total Times Completed | 88731 |
JavaScript Completions | 42946 |
Ruby Completions | 2145 |
C# Completions | 4137 |
CoffeeScript Completions | 50 |
Haskell Completions | 789 |
Python Completions | 20190 |
Elixir Completions | 302 |
C Completions | 1888 |
TypeScript Completions | 1004 |
PHP Completions | 2091 |
Java Completions | 7927 |
C++ Completions | 5699 |
Lua Completions | 206 |
Julia Completions | 75 |
Crystal Completions | 23 |
Dart Completions | 733 |
Clojure Completions | 220 |
Racket Completions | 49 |
Factor Completions | 18 |
Rust Completions | 717 |
NASM Completions | 29 |
Prolog Completions | 37 |
Swift Completions | 1148 |
R Completions | 95 |
OCaml Completions | 59 |
Scala Completions | 36 |
Total Stars | 593 |
% of votes with a positive feedback rating | 92% of 6961 |
Total "Very Satisfied" Votes | 6029 |
Total "Somewhat Satisfied" Votes | 818 |
Total "Not Satisfied" Votes | 114 |