Current Forum: Homework 5 - Parts 1 and 2 |
Date: Thu Nov 15 2001 2:48 pm |
Author: Ghosh, Debmallo S. <dsghosh@cmu.edu> |
Subject: Re: 10 lines?? I only needed 3 - That must be some ugly code |
|
|
Not counting the try/catch statement or the while loop I used, I have two lines of code that don't look bad at all. Even counting the loops and try/catch statements, I've got seven -- and each end bracket is on its own line. I think it's certainly possible to do this in three lines without having it look "ugly." |
|