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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started