Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help. thank you Pro Investment Sdn. Bhd. is running nancial investment business. As a programmer at that company, you have been assigned to design

please help. thank you

image text in transcribedimage text in transcribed
Pro Investment Sdn. Bhd. is running nancial 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 owchart and develop a Python program based on the following conditions: Calculate how much money customer will have when helshe 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 newline. 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) "\"mbemfyeam. 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 01. C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe - 0 X 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions