Problem Statement: Property Tax Calculator You are required to write a property
ID: 3610069 • 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.
Detailed Description:
1. The program should display
Please provide customer ID:
Please provide Property Description:
Enter ‘R’for Residential property:
Enter ‘C’for commercial property:
Then the program should take the input,
2. Depending upon the choicethat user has entered, your program will further display theprompt
a. If user has entered ‘R’, then your programshould prompt the user to enter the current marketvalue of the property. After taking the input itshould 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 ofresidential property.
b. If user has entered ‘C’, then your programshould prompt the user to enter the current marketvalue of the property. After taking the input itshould 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 ofcommercial 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.
Sample Output
Please Provide customer ID: 12345
Please Provide Property Description:
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.