Instructions: 1. Create a Python file A01_R06_CUSN_monthlyBalance.py that shows customers how their deposits grow over time (in units of months). The program should: 1.1. Read the initial balance and the annual interest rate. The interest rate should then be increased by the last digit of your student number (e.g. if your student number is 100123456 and the user inputs 2%, then the interest used for calculations would be 2% + 6% to be 8%) 1.2. Calculate interest that is compounded monthly. 1.3. Print the monthly balance for the entered number of months. The output of your code should resemble the following: Please enter the annual interest rate: 2 Please enter the initial balance: 1000 Please enter the number of months to know the balance: 5 Initial Balance: $1000 Annual Interest Rate: 9% After 1 month: $1007.5 After 2 month: $1015.06 After 3 month: $1022.67 After 4 month: $1030.34 After 5 month: $1038.07 Additional Notes: 1. The green text above represents the user's input. This can be presented on either one line or two lines. The example above also assumes the last digit of the student number is 7 (2+7=9), this will differ according to your student number. 2. Note that savings accounts usually present interest rates as annual percentage rates (APR). For this app, you will need to convert the annual rate into a monthly rate for computing the compounding balance.
Instructions: 1. Create a Python file A01_R06_CUSN_monthlyBalance.py that shows customers how their deposits grow over time (in units of months). The program should: 1.1. Read the initial balance and the annual interest rate. The interest rate should then be increased by the last digit of your student number (e.g. if your student number is 100123456 and the user inputs 2%, then the interest used for calculations would be 2% + 6% to be 8%) 1.2. Calculate interest that is compounded monthly. 1.3. Print the monthly balance for the entered number of months. The output of your code should resemble the following: Please enter the annual interest rate: 2 Please enter the initial balance: 1000 Please enter the number of months to know the balance: 5 Initial Balance: $1000 Annual Interest Rate: 9% After 1 month: $1007.5 After 2 month: $1015.06 After 3 month: $1022.67 After 4 month: $1030.34 After 5 month: $1038.07 Additional Notes: 1. The green text above represents the user's input. This can be presented on either one line or two lines. The example above also assumes the last digit of the student number is 7 (2+7=9), this will differ according to your student number. 2. Note that savings accounts usually present interest rates as annual percentage rates (APR). For this app, you will need to convert the annual rate into a monthly rate for computing the compounding balance.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education