LOGIC: Cash Register

Can You Provide Your Exact Change Based Off The Values In Your Cash Drawer?

Pennies: $0.37 | Nickels: $0.55 | Dimes: $0.90 | Quarters: $1.75

Ones: $17.00 | Fives: $25.00 | Tens: $30.00 | Twenties: $80.00 | Hundreds: $200.00

Cash Register Status:

Status: "INSUFFICIENT_FUNDS":

"INSUFFICIENT_FUNDS" if cash-in-drawer is less than the change due, or if you cannot return the exact change.

Status: "CLOSED":

"CLOSED" if the change you provide is exactly the amount you have left in the register

Status: "OPEN":

"OPEN" if you were able to provide exact change.