Help for this page

Select Code to Download


  1. or download this
    my @input = ( -222, -221, -21, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89
    +, 144 );
    
    sub oddDigitSum {
    ...
    }
    print $_, " " for oddDigitSum(@input);
    print “\n”;