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.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
100%
Instructions:
1. Create a Python file A01_RO6_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:
Please enter the initial balance:
1000
Please enter the number of months to know the balance:
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.
Transcribed Image Text:Instructions: 1. Create a Python file A01_RO6_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: Please enter the initial balance: 1000 Please enter the number of months to know the balance: 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.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
File Input and Output Operations
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning