BankFees A bank charges $10 per month, plus the following check fees for a comme

BankFees
A bank charges $10 per month, plus the following check fees for a
commercial checking account:
$.10 for each check if less than 20 checks were written
$.08 for each check if 20 through 39 checks were written
$.06 for each check if 40 through 59 checks were written
$.04 for each check if 60 or more checks were written
The bank also charges an extra $15 if the intial account balance is
below $400 (before any fees are applied). Design a program that asks
the user what is the initial balance of the account and the number
of checks written, and then prints the bank fees. (see examples)
Examples
(in these examples user input is represented by bold face)
emacs% java BankFees
enter initial balance: 100
enter number of checks written during the month: 30
fees: 27.4
emacs% javac BankFees.java
emacs% java BankFees
enter initial balance: 500
enter number of checks written during the month: 25
fees: 12.0
emacs% java BankFees
enter initial balance: 300
enter number of checks written during the month: 41
fees: 27.46
emacs% java BankFees
enter initial balance: 400
enter number of checks written during the month: 100
fees: 14.0
The BankFeesTest.zip is the program that can scoring the code that you wrote. Put you code and program in same folder run you code in terminal first and then type “java Test “in terminal.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount