Withdraw page
Katilith opened this issue · comments
Application Requirements
- The ATM should initially be stocked with 10 of each of the following denominations: $100, $50, $20, $10, $5, $1.
- Users should be able to withdraw cash and the ATM should be able to track bills remaining.
- The ATM should tell the user if it was able/unable to dispense the requested amount.
- The ATM needs to keep track of the current quantities of each of its denominations.
- The ATM needs to keep track of each transaction that happens.
Page Requirements
- Users should be able to enter a dollar amount and press a withdraw button when desired dollar amount has been entered.
- Withdraw button should remain disabled until the user enters an amount.
- Once with withdrawn button is pressed, display message whether or not transaction was successful (“Dispensed $” or failure “Insufficient Funds”).