School of Engineering and Applied Science
Department of Computer Science
CSci 53 -- Introduction to Software Development
http://www.seas.gwu.edu/~csci53/spring04
Alice Armstrong

Project 4
due Tuesday 2/24/04

Specification:
Write an interactive application that will help the user keep track of their spending.

Your program



Below is some sample output. You are free to design the user interface however you would like, but it must be clear and easy to use.

Welcome to your personal banking system!
Do you have a checking account? (y/n)
>y
Great! What is the starting balance in your checking account?
>134.56
Thank you.
Do you have a savings account? (y/n)?
>Y
I'm sorry, I didn't understand that. Please enter y or n.
>y
Great! What is the starting balance in your savings account?
>2507.03
Here we go....
Enter:
D -> deposit
W -> withdrawal
T -> transfer
Q -> quit
>D
Which account? C -> checking, S -> savings
>C
Please enter the amount:
>123.40
Thank you!
Enter:
D -> deposit
W -> withdrawal
T -> transfer
Q -> quit
>Q
Summary:
                  CHECKING
Starting balance: 134.56
Ending balance:   257.96

                  SAVINGS
Starting balance: 2507.03
Ending balance:   2507.03

                     TRANSFER TOTALS
Checking to Savings: 0.00
Savings to Checking: 0.00

Goodbye!

(end of assignment)