Chapter

Paying the Piper

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. What is 28?

    "28.5. Examples 28.5.4. Paying the Piper Let’s adapt the solution for the loan amortization schedule we developed in Section 4.7.3. First, we’ll read the principle, terms, and interest as command line

  2. What is ", i, monthlyInterest, 39 monthlyPrinciplePayment, balance); 40 } 41 42 //handle the last month and last payment separately 43 double lastInterest = Math?

    "\", i, monthlyInterest, 39 monthlyPrinciplePayment, balance); 40 } 41 42 //handle the last month and last payment separately 43 double lastInterest = Math.round( 44 (balance * monthlyInterestRate) *

Paying the Piper | ComputerScienceOne | Bifalgorithm | Bifalgorithm