Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions