C++ functions
- C++ program is a set of:
- variable definitions and
- functions
- Functions encapsulate computations, for example:
- main( ) is a top-level entry into program
- math library functions
- functions for data input/output
- functions to validate data
- algorithm functions: sort, copy, find, etc.