Thought I'd share a nit that just got picked in my submission of Say-4b. I had used the following line of code:
long divisor = (long)( Math.pow( 10 , i ) ) ;
And got the following comment regarding that code:
there is a purpose to this assignment that is covered by doing this without external methods. Please do this assignment with no outside classes.
No outside classes?
Well, upon viewing my code, I noticed that I also use the System class (System.out.print), the Long class (Long.parseLong), and the
String class.
Whew! This is going to be tough rewriting my code to avoid all those outside classes.
(Marilyn, am I correct in assuming that it's just the Math class that you want me to avoid using here?)
[This message has been edited by Elisabeth Van (edited March 17, 2001).]