Question: Create a menu driven check balancing C++ program using array(s). The menu includes; (D/d): deposit, (W/w): withdraw, and (E/e): exit. The selection must be made

Create a menu driven check balancing C++ program using array(s). The menu

includes; (D/d): deposit, (W/w): withdraw, and (E/e): exit. The selection must be

made by a character. Your program must produce an error message if a user enters

an invalid choice. You must show 2 digits below the decimal point for the output.

Your program must accommodate up to 10 deposits and withdrawals. (Hint: Use

Arrays.)

Section 1 : Receive the current balance.

Section 2 : Show a menu and receive a selection from a user.

Section 3 : Receive an amount for a deposit or a withdrawal.

Section 4 : Show the entered amount. (You must show 2 digits below the

decimal point.)

Section 5 : Repeat Section 2 through Section 4 until user specifies

Exit.

Section 6 : Show each deposit, withdraw, as well as sum of deposits, sum

of withdraws, and updated current balance.

Create a menu driven check balancing C++ program using array(s). The menu

includes; (D/d): deposit, (W/w): withdraw, and (E/e): exit. The selection must be

C1Windows system321cmd.exe elcome to check balancing program Please enter the current balance 200 Current balance 200.00 D d Deposi H w Withdraw Exit lease make your selection d lease enter deposit amount 150.84 D d Deposit H w Withdraw E e Exit Please make your selection W Please enter withdrawal amount 62 D d Deposit Withdraw E e Exit Please make your selection H Please enter withdrawal amount 38,78 D d Deposit H W Withdraw Exit Please make your selection D Please enter deposit amount 10.55 D d Deposit H Withdraw E e Exit lease make your selection g You entered invalid code. Please try again

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!