Version 2: Customer can determine the values for withdrawal, deposit, loan, and payback. useReducer hook for handling the logic.
Initial version with hardcoded values for withdrawal, deposit, loan, payback.