I am writing a program in which we are inputting a purchase price and adding the shipping and handling charge to get a total price. When I add curPrice = curPrice + shipHandle; which would be 20 + 1.50 which should = 21.50 I get 201.5.
1
Expert's answer
2010-06-07T07:01:14-0400
Try to use debugger to see what value is in curPrice and shipHandle.
Comments
Leave a comment