Question: C++ program using if else if statement A bank charges $10 per month plus the following check fees for a commercial checking account: $.10 each

C++ program using if else if statement  C++ program using if else if statement A bank charges $10
per month plus the following check fees for a commercial checking account:

A bank charges $10 per month plus the following check fees for a commercial checking account: $.10 each for fewer than 20 checks $.08 for 20-39 checks $.06 each for 40-59 checks $.04 each for 60 or more checks The bank also charges an extra $15 if the balance of the account falls below $400 (before any check fees are applied). Write a program that asks for the customer name, beginning balance, and the number of checks written. Compute and display (with two decimal points where appropriate) the name, beginning balance, the bank's service fees (show the service fees separately check fees, below $400.00 fee), the number of checks written and the ending balance. Input Validation: Do not accept a negative value for the number of checks written. In that case, print an appropriate message and terminate the program. Also, if a negative value is given for the beginning balance, display an appropriate message, and terminate the program

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!