Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using java A bank charges $8 per month plus the following fees: fee Number of checks $.09 each 1 - 20 checks $.07 each 21
using java
A bank charges $8 per month plus the following fees:
fee Number of checks
$.09 each 1 - 20 checks
$.07 each 21 40 checks
$.06 each 41 60 checks
$.05 each More than 60 checks
If the number of checks is a negative number or 0, issue an error message and set the fee to -999. The program should ask the user for the number of checks and compute and display the fee. For example, if a person writes 10 checks, the fees displayed will be $8.9 (8 + 10*.09). If the number of checks is a negative number or 0, fee displayed will be -999.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started