Help for this page

Select Code to Download


  1. or download this
    # header
    printf "%4s %20s %20s %20s\n\n", "Year", "Balance", "Interest", "New B
    +alance";
    ....
    # report (in while)
    printf "%4d %20.2f %20.2f %20.2f\n", $year, $StartAmountRounded,$Inter
    +estrounded, $NewBalancerounded;