No clue where to start: Real Estate Program
So thereās a challenge in a book Iām reading and I have no clue where to begin with this. Any help would be appreciated. Imagine you are investing in real estate and need to create a program to help track, estimate and/or manage costs related to a real estate property. Create the following private member variables: 1. property name/identifier 2. home sale price 3. HOA (home owners association) monthly cost 4. number of bedrooms 5. number of bathrooms 6. house square feet ā¢ Create accessor/mutator (get/set) functions for each member variable. Ensure that you use āconstā where necessary. The property name is a string, so for the mutator/set function, the input parameter should be a reference to a string constant. ā¢ Create two constructors: one which does not take in any input parameters and assigns the numeric variables to 0 and string variables to empty string. A second (overloaded constructor) which takes in parameters for each variable and assigns the values passed in to the member variables. ā¢ Create a toString() method that returns a string which prints out all of the variable values of the this RealEstateProperty class. When calling this toString() function, the price per square feet should also be printed along with the other variable values. ā¢ Create a function named calculateMortgage() which calculates the mortgage monthly payment. The mortgage monthly payment (M) of a property is calculated as follows: š = š š(1 + š)^n/ (1 + š)^n- 1 This function should output the monthly payment (M) and should have the following input parameters: down payment and monthly interest rate. Assume you will be paying the loan for 360 months. **Hint: use the Math library for exponent computation