Question: Write a program that can be used to calculate the commission earned in a real estate transaction. The chart below describes the formulas used to

Write a program that can be used to calculate the commission earned in a real estate transaction. The chart below describes the formulas used to calculate the commission. Your program will ask the user for the sales price as an double, calculate the commission, and display the sales price and commission. Remember to use constants rather than magic numbers. Sales Price Commission Less than $100,000 5% of the sales price $100,000 to $300,000 $5,000 + 10% of the amount of the sales price over $100,000 More than $300,000 $25,000 + 15% of the amount of the sales price over $300,000 2. Write a program that acts as a simple calculator. You will ask the user to enter two integers. Then you will ask for an operator from the list *,/,%,+, and -. If the user does not enter a valid operator, you will report the error and not perform any action. If the user asked to do division and the second number is zero, you will report the error and not perform any action. Otherwise, you will display what the equation is and the result I am using C ++ programming

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!