Skip to content

Commit

Permalink
Add PHP comment regarding the exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
Anon-Exploiter authored Dec 22, 2019
1 parent 69968f9 commit 807472c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Edabit/php/twelve.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

<?php

/*
Find mean of a array containing more than 5 int values supplied into a function
which returns 2 decimal values.
*/

function mean($arr)
{
return round((array_sum($arr) / count($arr)), 2);
Expand Down

0 comments on commit 807472c

Please sign in to comment.