Problem Statement: Property TaxCalculator You are required to write a propertyta
ID: 3610154 • Letter: P
Question
Problem Statement: Property TaxCalculator
You are required to write a propertytax calculator. The basic idea is that you will provide theinformation regarding property (commercial or residential),it’s market value and your program will calculate the tax.
DetailedDescription:
1. Theprogram should display
Please provide customerID:
Please provide PropertyDescription:
Enter‘R’ for Residential property:
Enter ‘C’ for commercialproperty:
Then the program should take theinput,
2. Dependingupon the choice that user has entered, your program willfurther display the prompt
a. If userhas entered ‘R’, then your program should prompt theuser to enter the current market value of theproperty. After taking the input it should calculate thetax on that property and display it on the screenin following format,
-----------------------------------------------------------------
Property Type :
PropertyValue:
Tax amount:
-----------------------------------------------------------------
*Tax amount will be 20% of the property value incase of residential property.
b. If userhas entered ‘C’, then your program should prompt theuser to enter the current market value of theproperty. After taking the input it should calculate thetax on that property and display it on the screenin following format,
-----------------------------------------------------------------
Property Type:
PropertyValue:
Tax amount:
-----------------------------------------------------------------
*Tax amount will be 40% of the property value incase of commercial property.
c. Ifthe user has entered any thing else thenthe “R” and “C”, your program should promptthe user to enter the correct choice.
SampleOutput
Please Provide customerID: 12345
Please Provide PropertyDescription:
Enter“R” for Residential Property:
Enter“C” for commercial property:
C
Pleaseenter market value of the property: 20000
-----------------------------------------------------------------
Property Type : Commercialproperty
Property Value: 20000
Tax amount: 8000
Explanation / Answer
please rate - thanks please rate - thanks #include using namespace std; int main() {char type; int id,value,tax; coutid; do{ coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.