Question: . Write a program in java to simulate an account transaction. There are three types of accounts: checking, savings, and investment. At the start of
. Write a program in java to simulate an account transaction. There are three types of accounts: checking, savings, and investment. At the start of your program, ask for the initial balance of the accounts. Dont allow any negative balances. Then display a menu and prompt the user to select one of these options: (1: Show Account type and balance, 2: Change Account type, 3: Withdrawal, 4: Deposit, or 5: Exit). Reject transactions that overdraw an account. Display the starting and ending balance for each transaction along with account type. You program must never end unless user chooses exit option from the menu. Test your program thoroughly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
