Help for this page

Select Code to Download


  1. or download this
    my @terms = split //, $input;
    my $sum = 0;
    ...
        $sum += $values[$i] if $terms[$i] ne '?';
    }
    print "$input = $sum\n";