/* This header file provides an interface for a library of
 * depreciation functions.
 *******************************************************************/


/* StraightLine() displays a depreciation table for a given
 * amount over numYears years using the straight-line method.
 *
 * Receive: amount, a real
 *          numYears, an integer
 * Output:  a depreciation table
 * Uses:    setprecision() and setw() from iomanip library
 ****************************************************************/

void StraightLine(double amount, int numYears);


/* SumOfYears() displays a depreciation table for a given
 * amount over numYears years using the sum-of-the-years'-digits
 * method.
 *
 * Receive: amount, a real
 *          numYears, an integer
 * Output:  a depreciation table
 * Uses:    function Sum() from Figure 6.1
 *          setprecision() and setw() from iomanip library
 ****************************************************************/

void SumOfYears(double amount, int numYears);

// ... other functions omitted


