1. Write a Perl program that prompts for and reads three numbers (on separate lines) and then prints them out in increasing order.
2. Write a Perl program that will prompt for and read numbers (on separate lines) until the user enters end-of-file and then calculate (using the subroutine &total described in Exercise 1, page 78) and print the average of all of the numbers entered. Beware of division by zero!