1. Pro Investment Sdn. Bhd. is running financial investment business. As a programmer at that company, you have been assigned to design and develop a Python program of Financial Investment System, which will assist customer in investment planning. You are required to draw a flowchart and develop a Python program based on the following conditions: Calculate how much money customer will have when he/she invest a given amount of money over a set number of years with a given interest rate. Request as user input how much money to invest and the yearly interest rate. It should call a calculateEarnings function by using the two inputs as the parameters named initialMoney and interestRate. Both user inputs should be accepted by the program in decimal numbers format. The calculateEarnings function should display the amount of money owned by the customer after 1 year, 10 years, 20 years, and 30 years, with each value on a new line. • The output should be precise to two decimal places. Calculate the total amount of money using compound interest, calculated yearly. The formula for this is as given below: total Money = initial amount * (1 + interest rate) number of years NOTE: 6% interest should be entered by user in percentage. But, must be entered as 0.06 for interest rate in the formula. Calculate and display how many years does it take for the money to be double the original. • The interface of the application is shown in FIGURE Q1.
1. Pro Investment Sdn. Bhd. is running financial investment business. As a programmer at that company, you have been assigned to design and develop a Python program of Financial Investment System, which will assist customer in investment planning. You are required to draw a flowchart and develop a Python program based on the following conditions: Calculate how much money customer will have when he/she invest a given amount of money over a set number of years with a given interest rate. Request as user input how much money to invest and the yearly interest rate. It should call a calculateEarnings function by using the two inputs as the parameters named initialMoney and interestRate. Both user inputs should be accepted by the program in decimal numbers format. The calculateEarnings function should display the amount of money owned by the customer after 1 year, 10 years, 20 years, and 30 years, with each value on a new line. • The output should be precise to two decimal places. Calculate the total amount of money using compound interest, calculated yearly. The formula for this is as given below: total Money = initial amount * (1 + interest rate) number of years NOTE: 6% interest should be entered by user in percentage. But, must be entered as 0.06 for interest rate in the formula. Calculate and display how many years does it take for the money to be double the original. • The interface of the application is shown in FIGURE Q1.
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%
Please write in python language
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
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