Question: Please help Java Program Real Estate Commission: 1. Prompt the user to enter each of the following FOUR inputs: Asking price of the property (an

Please helpPlease help Java Program Real Estate Commission: 1. Prompt the user to

Java Program Real Estate Commission: 1. Prompt the user to enter each of the following FOUR inputs: Asking price of the property (an int) Purchase price of the property (an int) Address of the property (a String, mayinclude spaces)" Commission rate ot either 5 or 6 (an int) 2. Calculate the difference between the purchase price and the asking price. If the purchase price is" "$75,000 or more over the asking price, set a Boolean variable to true, indicating the buyer's cash back bonus. 3. Calculate the commission amounts: Seller's agent's commission rate is 50% of the commission rate. Calculate the seller 's agent's commission by multiplying the commission rate by the purchase price. If cash back bonus is false, buyer's agent's commission rate is 50% of the commission rate. Calculate the buyer's agent's commission by multiplying th'e commission rate by the purchase price." If cash bonus is true, buyer's agent and the buyer split the buyer 's agent 's commission." 4. Find the total commission amount. 5. declare a constant to store the Harmonized Sales Tax (HST) rate of 13%. Then, calculate the hst amount to be paid." 6. subtract the total commission amount and the tax amount from the purchase price to find the" homeowner's net return from the real estate sale. 7. output report for the real estate sale using the rounded net returned. use 2-decimal precisions in printf Seller Agent's Comission: Buyer Agent's Commossion: Buyer Cashback Bomus: HST: Seller's Net Return

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!