If you look at the example formula in the requirements it is actually using the absolute value of any negative number.
Campbell Ritchie wrote:Query line 35 with your teacher. I think it doesn't say to accept positive values, but to reject negative values. You should therefore accept 0 as a valid input, even if it means you will get 0 as a result.
For Example if I enter in 2 -3 4 the answer would be 8 not positive 24
Campbell Ritchie wrote:Hashtable, Enumeration, Vector and Stack are also considered legacy classes which nobody uses any more, but aren't marked @Deprecated.
Was that before or after the latest update to Swing? I mean the update done by Ada Lovelace hereself They haven't deprecated AWT yet, and that was last updated by King Alfred. It took such a long time that the cakes burnt while he was doing it.
Paul Clapham wrote:. . . still in use by some Swing classes . . .
Jesse Silverman wrote:At least Enumeration got a bridge method in Java 9, tho:
Campbell Ritchie wrote:Was that before or after the latest update to Swing? I mean the update done by Ada Lovelace hereself They haven't deprecated AWT yet, and that was last updated by King Alfred.
Travis Bergkoetter wrote:Hi guys, this is my first post here and I'm working on an assignment. I've gotten pretty far but have gotten stumped and need some help.