CS257 Assignment: Mailing addresses

Due Wednesday, 4/28/04. Submit via HSP.

You may work with a partner for this assignment, if you wish.

The task

Write the program described in your automated testing assignment, using Perl. Once you have written these programs, I will have you use your testing tools on each other's programs.

Of course, I underspecified this program in the original testing assignment. In particular, I did not specify the program's output format. I have now fixed this problem, so you should go back and reread the program description in the section entitled "the problem."

Since I have now specified the output format for the program, you may find that you need to go back and modify your testing code somewhat. I'm sorry about that. Let me know if this part gives you significant trouble.

Please hand in both the program itself and any updated testing code.

Here's a small offering of code that you might find handy. You'll have to add Australia to it yourself, though.

Have fun.