CIS 236 Interactive Web Programming

Program Requirements: Check Printer

 

Create a program that reads a list of check requests from a file, formats them in proper check format and outputs them to another file. There is no limit to the size of the input file.

Sample Input: (ACCOUNTS.TXT)

1047 17.38 Melvin Doo
2183 398011.62 Scooby Doo
1050 235.00 Mystery, Inc.

Sample Output: (CHECKS.TXT)

************************ BOGUS VOID CHECK ***********************

Bank of CIS236                                       Check # 1047

Pay to the Order of: Melvin Doo                            $17.38

SEVENTEEN AND 38/100 Dollars

* * * * * * * * * * * * * END BOGUS CHECK * * * * * * * * * * * *

************************ BOGUS VOID CHECK ***********************

Bank of CIS236                                       Check # 2183

Pay to the Order of: Scooby Doo                       $398,412.62

THREE HUNDRED NINETY EIGHT THOUSAND ELEVEN AND 62/100 Dollars

* * * * * * * * * * * * * END BOGUS CHECK * * * * * * * * * * * *

************************ BOGUS VOID CHECK ***********************

Bank of CIS236                                       Check # 1050

Pay to the Order of: Mystery, Inc.                        $235.00

TWO HUNDRED THIRTY FIVE AND 00/100 Dollars

* * * * * * * * * * * * * END BOGUS CHECK * * * * * * * * * * * *

You may use the programming language of your choice.

The program should read input from a user specified file and produce output to a user specified file. Each check request will be on a separate line in the input file. Your program should handle amounts less than one million dollars.

Following the guidelines discussed in class, construct a test set for the program. An actual data set will be provided on the project due date. This data set must be run in class and the results included with the rest of the project.

Be prepared to demonstrate your working program in the AJT101 lab at the beginning of class on the due date.

 

Preliminary Specification  30 points

          Problem Description
          Algorithm (using pseudocode or a flowchart)
          Test Set Design  

Final Program - 70 points

Problem Description
Algorithm
Test Set Design
Source Code
Sample Output (from your test data)