Exercises

  1. Write a subroutine which prints out its first argument

  2. Modify the above subroutine to also print out the last argument

  3. Now change it to compare the first and last arguments and return the one which is numerically larger (you'll want to use an if statement for that)