Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    
    print "Average: ", $nums[0], " to ", $nums[$#nums], " = ", $sum / scal
    +ar @nums;
    
  2. or download this
    Average: 1 to 10 = 5.5