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.
Try to use debugger to see what value is in curPrice and shipHandle.
No comments. Be first!