Observations on Program 6:

  1. It is not necessary to put function headings in the driver since you are including the whole function definition.

  2. Do not put function headings in main.

  3. Declare variables at beginning of your program. It's better housekeeping.

  4. If the compiler highlights the "include", the error is in the included file.

  5. Can you think of a way to prevent dealing the same card twice?