Help for this page

Select Code to Download


  1. or download this
    #Here is the Input
    Enter a number (999) to quit
    ...
    3
    4
    999
    
  2. or download this
    #Actual Script
    #!/usr/bin/perl
    ...
        print "The Sum is $sum\n";
    }
    add_nums;
    
  3. or download this
    #Output
    The Sum is 10