Lab 20 - May 6


To receive credit for this lab assignment, you must be finished by Friday, May 9, at 10:00 p.m. After this time you will not receive any credit.


1.  Login to UNIX, and write a program to do the following:

Write a poem, similar to what you did for your first homework assignment.  Make sure the poem is at least 8 lines long.

Instead of printing the poem at the command line, have your poem write out to a file.  Call this file output.txt.

3.  Send an e-mail in Pine and attach your program and the output.txt file to the e-mail.  Send to the account.  Make sure the subject is 'lab 20'.

4.  Check the webpage to make sure that the e-mail arrived.  Here is the URL:

5.  Once I (TA) get the e-mail in my account AND I can verify it on the web, you will receive your lab participation point.


Link to the Java API -  to look up any methods of any class you would like to use.