Test your program. For example, a person who is 18 years, 3 months, and 21 days old has lived 577,238,400 seconds (under the assumptions of the program). A person who is 21 years, 0 months, and 0 days has lived 662,256,000 seconds.
You should have gotten a strange answer to the last question! Why did your program produce such an answer? Hint: Java uses a 32-bit two's complement representation for type int. In pre-lab you computed the largest int value that Java can represent (it is also in the textbook on page 72). Now look at the other ages in seconds you have computed, e.g., 21 years. 68 years is a little over triple that value; is this consistent with your strange answer? (No need to write this answer.)
Test the program again and make sure it works. A person who has lived 68 years, 6 months, and 12 days is 2,161,036,800 seconds old. Also try 99 years, 9 months, and 9 days and make sure the answer makes sense.
The file DrawSnowman.java contains a program that draws a sun and some steps. It instantiates a Snowman object (note that the arguments are position of the middle and top of the snowman) and invokes the draw method of the Snowman class to draw the snowman. Save these files to your directory, compile the DrawSnowman.java program (which will also compile Snowman.java) then use the HTML file DrawSM.html and the appletviewer to view the applet. (Note: You need to choose Applet then Restart on the applet window menu to get the background to show up.)