Question: Can anyone answers this Problem3 Write a program that simulates a checking account. Initially, the program prompts the user to open an account and deposit
Can anyone answers this Problem3 Write a program that simulates a checking account. Initially, the program prompts the user to open an account and deposit an initial balance of at least $20. Afterwards, the program repeatedly shows a menu with the following options: Checking Account 19 points Depositing money 2. 1. Withdrawing money 3. Viewing the current balance 0. Exit Split your program using functions. Define the following prototypes and implement them below the main: Ishows menu, prompts for and returns valid option int promptoption Oi prompts for amount 0) to deposit and adds it to the balance void deposit (float &balance) prompts for amount 0) to withdraw and //subtracts it from the balance void withdraw(float &balance) You may use #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
