Help for this page

Select Code to Download


  1. or download this
    sub get_max_index {
     my $i, $imax;
    ...
    
    my @arr = (1..10);
    my $ans = get_max_index(@arr);