Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Students also viewed these Databases questions