I'm glad you got it working. See you next time.
Type: Posts; User: Norm
I'm glad you got it working. See you next time.
You should leave the variables as ints and scale them up to the number of cents (*100) vs the number of dollars to keep from having values such as 2.699999999999988
The code needs more testing. ...
Try debugging the code by printing out the results of each computation with a println() statement so you can see the results of each expression. Be sure to add labels to all the printouts. Something...