A bank charges $10 per month, plus the following check fees for a commercial checking account:
$0.10 each for less than 20 checks
$0.08 each for 20 through 39 checks
$0.06 each for 40 through 59 checks
$0.04 each for 60 or more checks
Write a function BankCharges() that allows the user to enter the number of checks written and computes and displays the bank’s service fees for the month. All checks for the month are assigned the same charge, based on the total number of checks written during the month. Use the following test data to determine whether the application is calculating properly. In each case, the customer is charged only a single rate, based on the total number of checks. Your solution should clearly show the function.
Customer Number of Checks Bank Charges
Nancy 15
Lilian 25
Arianna 45
Ben 75
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here