aspose file tools*
The moose likes Cattle Drive and the fly likes Anyone know the aim of Sum? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Anyone know the aim of Sum?" Watch "Anyone know the aim of Sum?" New topic
Author

Anyone know the aim of Sum?

Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
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?

Thanks
John Hembree
hired gun
Ranch Hand

Joined: Mar 07, 2003
Posts: 250

Originally posted by Amy Phillips:
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?

For (1.), I believe that's exactly the point of the exercise, to find out if it equals 100 or not.
For (2.), It couldn't hurt.
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
I've never passed a student on this assignment, nor did I pass this assignment, until a least a reasonable attempt is made to describe why you get what you get.
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1197
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!
juliane gross
Ranch Hand

Joined: May 30, 2002
Posts: 161
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
Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Anyone know the aim of Sum?