And, of course, your solution should use these functions!
WHAT TO TURN IN: Before you turn in your program, please clean it up by removing unnecessary code and other detritus. Add a comment at the beginning of the file that has your name in it, and add a comment to each function that explains what it does (but not how it does it).
Make sure that every line in the file has fewer than 80 lines so that it does not wrap around when you print it. Then print the file using a2ps with the -1 option. See Chapter 3 of the Olinux manual for more details.