Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
                 map 2 * $_, @_
               )
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    my @list2 = (10, 11, 12, 13);
    say join ' ', median_and_double(@list2);