Question: Write a program to calculate how long it would take you to outright buy a house assumingthe following: 1 . A simple entry level home

Write a program to calculate how long it would take you to outright buy a house assumingthe following:1. A simple entry level home costs $500,000 and increases in price by 1.5% everyyear.2. You start with $1000 in your bank account, and the bank pays you 0.75% intereston whatever is in your bank account at the end of the year.3. You save a set amount each month into your bank account (e.g. $150) that theprogram prompts the user to input.You may treat these values as constants. The program should calculate your bankaccount value each month given these constraints. The program should output thefollowing when either your bank account exceeds the cost of the home or 25 years havepassed, whichever comes soon

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!