please with java and in JOptionPane if possible .bank charges 10.00 per month plus the following...

60.1K

Verified Solution

Question

Programming

please with java and in JOptionPane if possible

.bank charges 10.00 per month plus the following fees for achecking 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
The bank also charges an extra 15.00 if the balance of the accountfalls below $400 (before any check fees are applied).
Write a program that reads the following:
The account number ( a String )
The beginning balance of an account
The number of checks written
The total amount of the checks
The program should subtract the total amount of the checks from thebalance; it should calculate the bank fees (all that apply); and itshould print an “end of month statement” which includes thefollowing:
   The account number
   The beginning balance
   The total amount of the checks
   The total charges
   The final balance   -- if the final balanceis negative, print a warning

Answer & Explanation Solved by verified expert
4.0 Ratings (673 Votes)
Here is the code to the given problemI have taken inputs fromuser and printed end of month statement using JOptionPane asaskedAs per the question only check amount needs to be    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students