Question: Create a new Java application called Mogul (without the quotation marks) that will compute the profitability of a real estate investment over a 1-year period.

Create a new Java application called "Mogul" (without the quotation marks) that will compute the profitability of a real estate investment over a 1-year period. Request the following values from the user at the command line: Cost of the property (assume that it is in dollars) The inflation rate (e.g., 0.05 for an inflation rate of 5%) Property appreciation rate (e.g., 0.10 for an appreciation rate of 10%) Your program should output: "Your investment's net profit is $X." Where $X is the net profit. Net profit for one year is calculated as: Net profit = (Value of property * Rate of appreciation) - (Value of property * Rate of inflation)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
