Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON CODE ONLY!!!! ****Can ONLY implement {if_elif_else, try_except, for loops, while loops}***** Design an algorithm and implement it as a Python function that you receive

PYTHON CODE ONLY!!!! ****Can ONLY implement {if_elif_else, try_except, for loops, while loops}*****

Design an algorithm and implement it as a Python function that you receive from the user: (1) the amount you open the account, (2) monthly salary, (3) percentage of salary you will save, (4) the annual interest computed monthly that pays the account where you are depositing the money and (5) the savings goal you have. The algorithm must return to the user: (1) how many months it would take to reach the goal, (2) how much money would be in the account at that time and (3) how much of that money corresponds to interest earned. Taking into account that your salary increases as explained above and shown in the figure. Submit a desk test when the account is opened with $ 2,000,000, your monthly salary is $ 5,000,000, the percentage of salary you will save is 20%, the account pays 6% per year computed monthly, and the goal is to save $ 64048,975. This test is going to require many iterations, you can use a table in Excel to do it ... but make sure you are actually following the flow of your function. Run the function with those same values and present a screenshot of the screen.

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

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions