Question: 1 . interestRate.py ( 2 0 Points ) Write a program that calculates the ending balance of a 1 - year certificate of deposit for

1. interestRate.py (20 Points)
Write a program that calculates the ending balance of a 1-year certificate of deposit for the new and existing customers. Consider that there will be 2 rates for existing customers.
Hints:
Prompt for type of customer existing or new
Prompt for the initial investment
Write a if/elif statement to verify investments for existing and new customer
for existing customer the interest rate is 3.25 if the customer invested $1000 or more
otherwise the interest rate is 3.0
for new customer the interest rate is 3.5
Calculate the ending balance. formula: invest *(1+ interestRate/100)
Display results
Expected Output:
Enter n if customer is new, or e for existing: e
Please enter investment amount: 10000
Interest rate=3.25%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!