Pro Investment Sdn. Bhd. is running financial investment business. programmer at that company, you have been assigned to design and dev Python program of Financial Investment System, which will assist custoi investment planning. You are required to draw a flowchart and develop a F program based on the following conditions: Calculate how much money customer will have when he/she invest a

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
icon
Related questions
Question

Please draw a Flow chart

 

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.
Transcribed Image Text: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.
CAProgram Files (8OYMicrosoft Visual Studio\Shared Python37.4\python.exe
WELCOME TO PRO INVESTMENT
How much money do you want to invest ? : RM 100
what is the yearly interest rate (%) ? : 6
INVESTMENT
After 1 year
: RM 106.00
After 10 year : RM 2465.03
After 20 year
: RM 20617295.98
After 30 year
: RM 58509629510479.26
It will take about : 5 years for your investment to double up!
FIGURE Q1: Interface of the Financial Investment System
Transcribed Image Text:CAProgram Files (8OYMicrosoft Visual Studio\Shared Python37.4\python.exe WELCOME TO PRO INVESTMENT How much money do you want to invest ? : RM 100 what is the yearly interest rate (%) ? : 6 INVESTMENT After 1 year : RM 106.00 After 10 year : RM 2465.03 After 20 year : RM 20617295.98 After 30 year : RM 58509629510479.26 It will take about : 5 years for your investment to double up! FIGURE Q1: Interface of the Financial Investment System
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Flowchart
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
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education