Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions 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. ]
expand button
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
Check Mark
Knowledge Booster
Background pattern image
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
    Recommended textbooks for you
    Text book image
    Database System Concepts
    Computer Science
    ISBN:9780078022159
    Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
    Publisher:McGraw-Hill Education
    Text book image
    Starting Out with Python (4th Edition)
    Computer Science
    ISBN:9780134444321
    Author:Tony Gaddis
    Publisher:PEARSON
    Text book image
    Digital Fundamentals (11th Edition)
    Computer Science
    ISBN:9780132737968
    Author:Thomas L. Floyd
    Publisher:PEARSON
    Text book image
    C How to Program (8th Edition)
    Computer Science
    ISBN:9780133976892
    Author:Paul J. Deitel, Harvey Deitel
    Publisher:PEARSON
    Text book image
    Database Systems: Design, Implementation, & Manag...
    Computer Science
    ISBN:9781337627900
    Author:Carlos Coronel, Steven Morris
    Publisher:Cengage Learning
    Text book image
    Programmable Logic Controllers
    Computer Science
    ISBN:9780073373843
    Author:Frank D. Petruzella
    Publisher:McGraw-Hill Education