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.

Please Submit:

1. A flowchart of your program. (4 points)

2. Your C++ program with a heading comment, also appropriate spacing and indentation in the program body. (4 points)

3. Copy of a screenshot after your program is executed. Your test should include upper and lower cases for selection, invalid selection, and integer number for an input value. (2 points)

/* ELEN 1301 Programming Assignment #7.

Name : Your name. Student ID :

Your student ID #. Due date : 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):

CAWindowslsystem32Mcmd.exe Helcome to check balancing program Please enter the current balance 987 Current balance 987.00 D d Deposit H W Withdraw Exit Please make your selection D Please enter deposit amount 10.57 Deposit 10.57 Remaining balance 997.57 D d Deposit H Withdraw E e Exit Please make your selection W Please enter withdrawal amount 365.67 Withdraw 345.67 Remaining balance 651.90 D d Deposit H Withdraw E e Exit Please make your selection F You entered invalid code. Please try again D d Deposit H W 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!