Oh, man. I hope this is a homework a question and not something needed for your job. In the latter case, I think you would be better off polishing up your resume (by the looks of it, it needs it anyway).
Last edited by masijade; Feb 13th, 2007 at 4:01 am. Reason: typo
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan