Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$max_numb= ???????? --->what should I use here? for($i=0; $i<=100; $i++) { $number_to_compare=..........; if($number_to_compare>$max_numb) { $max_numb=$number_to_compare; } } print $max_numb;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: undef number?
by toolic (Bishop) on Apr 18, 2010 at 01:25 UTC | |
|
Re: undef number?
by BrowserUk (Patriarch) on Apr 18, 2010 at 01:23 UTC | |
|
Re: undef number?
by ikegami (Patriarch) on Apr 18, 2010 at 01:57 UTC | |
by PeterPeiGuo (Hermit) on Apr 18, 2010 at 02:12 UTC | |
|
Re: undef number?
by Xilman (Hermit) on Apr 18, 2010 at 08:31 UTC | |
|
Re: undef number?
by bart (Canon) on Apr 18, 2010 at 19:30 UTC | |
|
Re: undef number?
by jwkrahn (Abbot) on Apr 18, 2010 at 01:36 UTC | |
|
Re: undef number?
by Anonymous Monk on Apr 18, 2010 at 17:56 UTC | |
|
Re: undef number?
by Marshall (Canon) on Apr 19, 2010 at 10:59 UTC | |
by ikegami (Patriarch) on Apr 19, 2010 at 16:09 UTC | |
by Marshall (Canon) on Apr 19, 2010 at 17:56 UTC |