in reply to [Homework Question] Subroutines & References
sub above_mean { $i == mean(@list_of_numbers); foreach (@list_of_numbers) { if ($a > $i) { print "$a is above mean, which is mean(@list_of_numbers)" +; } #........^ this is missing } #...^ so is this }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [Homework Question] Subroutines & References
by Hayest (Acolyte) on Feb 11, 2015 at 16:28 UTC | |
by choroba (Cardinal) on Feb 11, 2015 at 16:33 UTC | |
by Hayest (Acolyte) on Feb 11, 2015 at 16:57 UTC | |
by AnomalousMonk (Archbishop) on Feb 11, 2015 at 17:21 UTC | |
by Anonymous Monk on Feb 11, 2015 at 18:57 UTC | |
by AnomalousMonk (Archbishop) on Feb 11, 2015 at 19:34 UTC | |
by Hayest (Acolyte) on Feb 11, 2015 at 19:48 UTC | |
|