Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
  2. or download this
    ...
    my $math=<STDIN>;
    ...
    my $sci=<STDIN>;
    ...
    
  3. or download this
    Bareword "n" not allowed while "strict subs" in use at ...
    
  4. or download this
    use strict;
    use warnings;
    ...
    }
    
    printf "Your average is: %.2f%%\n", ($sum / scalar(@subjects));