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

Create a menu driven check balancing C++ program. 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.

Purpose of the program :

Creating a simple menu driven check balancing program.

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 and display the remaining balance.

(You must show 2 digits below the decimal point.)

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

Exit.

Create a menu driven check balancing C++ program. The menu includes; (D/d):

Welcome to check balancing program Please enter the current balance 987 Current balance 987.00 D d Deposit W Withdraw Exit Please make your selection D Please enter deposit amount 10.57 Deposit 10.57 Remaining balance 997.57 D d Deposit N Hithdraw Exit Please make your selection w Please enter withdrawal amount 245.67 Hithdraw 345.67 Remaining balance 651.90 Deposit N W Withdraw Exit Please make your selection F You entered invalid code. Please try again D d Deposit N Withdraw Exit Please make your selection e The new balance 651.90 Thank you for using check balancing program. Good bye. Press any key to continue

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!