Posted by GiantLeap on October 07, 2001 at 19:06:18:
In Reply to: Monetary Values posted by Kyle on October 05, 2001 at 13:50:28:
Wow, you spent more time figuring out what to subtract than doing the code.
I think you miised the bigger picture here - you learn something when you write the code, such as problem solving.
You call it a "shortcut" -- there are very few shortcuts in programming (real world apps) that work properly for every conceivable value -- the fact you found one that subtracted that worked is a Catch 22 -- you got a 100 but did you learn anything? Chances are, you didn't, especially considering this is how you had to write the program to get it to work.
Post a Followup