Homework #3 - Basic C++ Programming

10 Points

Purpose:  This assignment is to give you a little more practice with writing programs. The more you practice, the more natural the programming language and tools you are using will become.

Instructions: Complete the exercises below on your own. Once complete, submit each program to your instructor as in homeworks #1 and #2 and print copies of the programs to hand in at the beginning of class on the due date.

Self-Test Exercises (page 59)

  1. Problem 12

  2. Problem 14

Self-Test Exercises (page 73)

  1. Problem 18

Please note, the answers to these exercises are on pages 100-101. Try to write the programs on your own, but if necessary, use the answers to guide you as you write the programs.