Definition for second if statement

second if statement checks to see if the discount is greater than the
amoun you have to pay. this also tells you that you have credit.