@@ -34,7 +34,7 @@ |
||
34 | 34 | for ($counter; $startpeople < $endpeople; $counter++) { |
35 | 35 | $startpeople = $startpeople * (1 + $percent / 100) + $aug ; |
36 | 36 | } |
37 | - return $counter; |
|
37 | + return $counter; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | // Alternate solution with ternary: |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | |
15 | 15 | for ($j = 0; |
16 | - $j < count($arr); $j++) |
|
16 | + $j < count($arr); $j++) |
|
17 | 17 | { |
18 | 18 | if ($arr[$i] == $arr[$j]) { |
19 | 19 | $count++; |