Problem Statement:Property Tax Calculator You are required to write a property t
ID: 3610220 • Letter: P
Question
Problem Statement:Property Tax Calculator
You are required to write a property tax calculator. The basicidea is that you will provide the information regarding property(commercial or residential), it’s market value and yourprogram will calculate the tax.
DetailedDescription:
1. Theprogram should display
Please provide customer ID:
Please provide PropertyDescription:
Enter ‘R’ forResidential property:
Enter ‘C’ for commercial property:
Then the program should take theinput,
2. Depending upon the choice that user has entered, your programwill further display the prompt
a. If user has entered ‘R’, then your programshould prompt the user to enter the current market value of the property.After taking the input it should calculate the tax on that property anddisplay it on the screen in following format,
-----------------------------------------------------------------
PropertyType :
PropertyValue:
Taxamount:
-----------------------------------------------------------------
*Tax amountwill be 20%of the property value in case of residential property.
b. If user has entered ‘C’, then your programshould prompt the user to enter the current market value of the property.After taking the input it should calculate the tax on that property anddisplay it on the screen in following format,
-----------------------------------------------------------------
PropertyType :
PropertyValue:
Taxamount:
-----------------------------------------------------------------
*Tax amountwill be 40%of the property value in case of commercial property.
c. If the user has entered any thing else then the“R” and “C”, your program should prompt theuser to enter the correct choice.
SampleOutput
Please Provide customer ID: 12345
Please Provide PropertyDescription:
Enter “R”for Residential Property:
Enter “C”for commercial property:
C
Please enter market value of the property:20000
-----------------------------------------------------------------
PropertyType : Commercialproperty
PropertyValue: 20000
Taxamount: 8000
Explanation / Answer
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.