Bank Charges
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
Create an application that allows the user to enter the number of checks written. The application should compute and display 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.
Input validation: Do not accept a negative value for the number of checks written. Ensure that all values are numeric. The Clear button must clear the text box and the label that displays the monthly service charge.
Use the following test data to determine if the application is calculating properly:
Number of Checks | Total Fees |
15 25 45 75 | $ 11.50 $ 12.00 $ 12.70 $ 13.00 |
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.