Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A bank charges fees and/or gives interest based on the balance of a customer. Write a program that reads the customer balance then calculates and
A bank charges fees and/or gives interest based on the balance of a customer. Write a program that reads the customer balance then calculates and displays the new balance after the application of fees and or interest based on the following rules:
A negative balance incurs a $50 overdraft fee. A balance below $500 (but positive) incur on a $10 maintenance fee. A balance from $500 to $1000 (inclusive) gain 0.1% interest. A balance over $1000 will gain 2% interest.
Q2.1Also include input, Output, Error Conditions
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