Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11a. Critical Thinking Exercise: (If you completed the program Realtor.cpp, which you stored in the Chapo2 folder on your Student Disk, redesign that program in

image text in transcribed
11a. Critical Thinking Exercise: (If you completed the program Realtor.cpp, which you stored in the Chapo2 folder on your Student Disk, redesign that program in this exercise.) Create a new design for a program to produce a real estate report. As a real estate agent, you keep a record of homes you list, and you want to create a report that is easy to read. The report should also indi- cate the costs associated with selling the home, which includes the total commission, the listing agency commission, the selling agency commission, and the selling agent's commission. The information needed to sell the home includes the following: The last name of the owner of the house. . The selling price of the home. The costs are based on the following information: House commissions paid to sell a house through multiple listings are 6%. The listing agency receives 3% and the selling agency receives 3%. . Of that 3%, each agency gets 1.5% and the selling agent or listing agent gets 1.5%. Your data is the sales amount entered as a double number with no fractional decimal value. Your calculations should consider the following: Calculate the amount paid by the homeowner to sell the home and the amount of the com- mission you will receive as the selling agent (not agency). . Use a constant for the commission rate. Display your output using the following guidelines: Display your output in columns using the setw function. Your first row of output should be headings. Use setw(15) for each item in the first row. When writing your string literals, be sure to include a blank at the end of the string to make sure that one string does not display directly next to another string. The second row should list your variables. For the second row use a fixed format, two deci- mal places, and show the decimal point even when the fractional decimal value is 0. 11a. Critical Thinking Exercise: (If you completed the program Realtor.cpp, which you stored in the Chapo2 folder on your Student Disk, redesign that program in this exercise.) Create a new design for a program to produce a real estate report. As a real estate agent, you keep a record of homes you list, and you want to create a report that is easy to read. The report should also indi- cate the costs associated with selling the home, which includes the total commission, the listing agency commission, the selling agency commission, and the selling agent's commission. The information needed to sell the home includes the following: The last name of the owner of the house. . The selling price of the home. The costs are based on the following information: House commissions paid to sell a house through multiple listings are 6%. The listing agency receives 3% and the selling agency receives 3%. . Of that 3%, each agency gets 1.5% and the selling agent or listing agent gets 1.5%. Your data is the sales amount entered as a double number with no fractional decimal value. Your calculations should consider the following: Calculate the amount paid by the homeowner to sell the home and the amount of the com- mission you will receive as the selling agent (not agency). . Use a constant for the commission rate. Display your output using the following guidelines: Display your output in columns using the setw function. Your first row of output should be headings. Use setw(15) for each item in the first row. When writing your string literals, be sure to include a blank at the end of the string to make sure that one string does not display directly next to another string. The second row should list your variables. For the second row use a fixed format, two deci- mal places, and show the decimal point even when the fractional decimal value is 0

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_2

Step: 3

blur-text-image_3

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

Be Audit You Can Be

Authors: Awesome Auditor

1st Edition

1659095700, 978-1659095708

More Books

Students also viewed these Accounting questions