CHK.DAT - Data file which may be used with next two examples. CHK.CPP - Process checks and deposits. Examples of nested loops and top-down design. CHK2.CPP - Process checks and deposits. Examples of functions and top-down design.
Several functions calculate a value and return it as the value of the function call.
MTH1.CPP - Performs simple math. MTH2.CPP - MTH1 with my own functions. MTH3.CPP - MTH1 with inline code. 12 CW.CPP - Count words and lines in a file. Provides an example of functions and top-down design.