Calculate Payable Amount with Two Discount Rates - C Exercise