This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have been working ahead again (just trying to avoid working on 4b really) but anyway I have hit Sum and it seems straight forward enough but I am a bit confused about what the aim is. I have read the previous posts on this but still have a few questions: 1. should it equal 100 or not? 2. do we have to explain what is happening when we submit this or is it just enough to know?
I have a vague recollection of this assignment. On the surface it seemed easy, but there was an important lesson about the limitations of certain types due to the mysterious way computers do math. Trust your instincts on this one!
I remember that the programming part was easy enough, but explaining was a bit tricky. I even discussed this with a mathematician friend and read in a couple of books about those phenomenons. I think the aim is to be occupied with this question long enough that you will probably remember that for a long time
Joined: Apr 02, 2003
Hmm sounds more tricky than it first seemed - couldn't believe that it could be 7 and so easy so had to ask. Anyway I take it from this then that you don't have to do some complex maths to the answer? I mean it could be 100 if I tried hard enough... I am going to start looking around for some stuff about Doubles and hopefully by the time I pass 4b I should be an expert