Question: Data Structures and Algorithm using C++ Create a program that will tell the user how long it will take them to save to buy a

Data Structures and Algorithm using C++

Create a program that will tell the user how long it will take them to save to buy a house. The user is required to have 20% of total cost of the house for down payment in order to purchase.

Use a GUI(Mac and Windows Compatible) to ....

1. Ask the user what is the ideal cost of the house they are trying to purchase.

2. Ask user for their monthly salary.

3. Ask user for monthly rent cost.

4. Ask user for monthly grocery cost.

5. Ask user for a monthly car payment.

6. Ask user for other expenses.

7. Print the number of months needed to make the downpayment.

How to calculate the length of time needed to save up for a downpayment :

1. Add up all the expenses and subtract it from the monthly salary. That will be how much the user will save every month to purchase the house(User Savings).

2. Determine how much 20% needed for a downpayment is(DP).

3. Divide the downpayment that's needed by monthly savings. (DP/MS)

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!