posted 11 years ago
I don't know the culture of this community and how to ask for help here. So please bear with me. I've given code below and the discount is not working properly. I'm sure it has to do with the if/else statement in calculateTotal(), but I don't know how to do it outside of that. The problem is applying the discount or not, so I thought the if/else statement would fit the bill, guess not. As I have seen in other posts, I am not looking for the answer. Answer being typed code, showing the fix, but direction. Thanks again.