Question: Write a program to simulate an account transaction. There are three types of accounts: checking, savings, and investment At the start of your program, ask

 Write a program to simulate an account transaction. There are three

Write a program 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. Don't allow any negative balances. Then display a menu (like a typical menu you see on an ATM machine, without the graphics) 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 (especially for all account types). 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!