3.15. Bank Charges - Java

Words
108
Reading
1 min
Listen
Play
10y

Starting out with Java: From control structures through objects

Chapter 3

Programming Challenges

15. Bank Charges 

A bank charges a base fee of $10 per month, plus the following check fees for a commercial checking account: 

$.10 each for less than 20 checks 

$.08 each for 20–39 checks 

$.06 each for 40–59 checks 

$.04 each for 60 or more checks 

Write a program that asks for the number of checks written for the month. The program should then calculate and display the bank’s service fees for the month.

Gaddis, Tony (2015-05-29). Starting Out with Java: From Control Structures through Objects (Page 188). Pearson Education.

Kindle Edition.

Happy Steeming Everyone!

3.15. Bank Charges - Java | Ecency