How to solve this?

Property investment is big business, and if it’s done properly, can quickly become highly profitable. It involves the purchase of a property, typically one that is still being built with a view to enhancing it and either selling it on or leasing it out in order to gain a return. The property investment opportunities in Malaysia, as with other major cities, are highly diverse. Basically, any type of property can be purchased as an investment property, such as an apartment building, a single home, and so fourth. Therefore, you are required to write a program to compute the forecast profit for customers whose invest in a home property investment.

The following table shows the example of forecast home value increment:-

Duration ~Estimated value increases
1. Upon completion of a house ~30 % increase of the original price
2. Year 1 – Year 3 ~ 12 % increase each year
3. Year 4 – Year 10 ~ 7 % increase each year
4. Year 11 onward ~5 % increase each year

[Note: percentage of estimated value increase does not fix]


In order to calculate a return profit of the investment for a certain duration (if the customers would like to sell the property), the following criteria should be considered:

the original price of a house (if you are Malaysian, 5% discount will be given), down payment (must at least 5% of the original price), processing fee (2% of the current value), state government tax (25% of the original price) and GST tax (6% of the current value). The customers have to pay the processing fee, state government tax and GST tax if the customers decide to sell the property within the first 3 years. In years 4 and onward, the customers do not require to pay for the state government tax.

Your program should have a user friendly interface with at least the following menu:

 Setting Data
~Estimated Value Increase
~Set Taxes
 Property information
~Original Price
~Down payment
 Display Forecast Rate
 Display Forecast Return Profit

Last edited on
This is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
Topic archived. No new replies allowed.