Saturday, August 13, 2011

Any bluej java expert plss hlpppppp?

With the first one - try using double for all variables involved in the calculations, otherwise you may get truncated results. Also you probably meant to output l and not k for your running total.

No comments:

Post a Comment