Chapter

Paying the Piper

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How do nested loops execute in C?

    "Recall that you can write loops within loops. The inner loop will execute fully for each iteration of the outer loop. An example of two nested loops in C can be found in Code Sample 17.7.\n\nint i, j

  2. How can a loan amortization schedule handle rounded payments in C?

    "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 inputs. Adapting the formula for the mo