Help for this page

Select Code to Download


  1. or download this
    my $max_number;        #initialize a variable that keeps the maximum n
    +umber
    
  2. or download this
    if(!defined($max_number) or $current_number > $max_number)            
    +    
        {
            $max_number = $current_number;            #compare each time t
    +he number we have in the line with the max number    
        }