CIS 260 C++ Programming

Program Requirements: Check Printer

Design a program that accepts a money amount and prints the number as it would appear on a check.    

Example:

     Enter Dollar Amount: 114.37

          One Hundred Fourteen and 37/100 Dollars

     Enter Dollar Amount: 17.02

          Seventeen and 2/100 Dollars

     Enter Dollar Amount: 0.00

     Thank You

Your program should handle amounts less than one million dollars and should loop until the user enters zero dollars and cents. (Feel free to use variables of type long rather than just int)

Use functional decomposition to create an algorithm. Your program will probably include at least two functions in addition to main().

Following the guidelines discussed in class, construct a test set for the program.

Preliminary Specification  20 points

          Problem Description
          Functional Decomposition
          Algorithm 
          Code Design (Function Prototypes required)
          Test Set Design

 

Mar 29, 2004

Final Program - 80 points

Problem Description
Algorithm
Functional Decomposition (showing structure and function headers)
Test Set Design
Source Code
Sample Output

Apr 5, 2004