Due - September 18
Write a simple Java program that performs like a cash register.
Your Java Classes should use the package edu.smccd.cis381.fall2006.project3
Your program must be compatible with project3-build.xml
I expect 3 classes for this assignment
CashRegister
Money
CashRegisterTester
Please review "How to Turn in Assignments" for information about how to submit and other requirements.
CashRegisterTester should do the following
Create one or more CashRegisters.
Make some purchases.
Print the change after each purchase.
Print the balance of the cash register before exiting.
return null Change if not sufficient funds given to make purchase
May make change at any time.
No refunds are given, only purchases may be made.
The register only keeps track of the total balance, it does not have any idea what bills and coins it has inside.
Don't forget 5 singles is equal to a five dollar bill.
When giving change please use as much of the highest value currency as possible. When giving change $27.33 give: 1 twenty, 1 five, 2 singles, 1 quarter, 1 nickle, and 3 pennies.
When customers pay they may use any distribution of currency they wish.