You are required to write a property tax calculator. The basicidea is that you w
ID: 3609940 • Letter: Y
Question
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.
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 choice that 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,
Property Type :
PropertyValue:
Taxamount:
*Tax amount will be 20% of the property value incase of residential property.
b. If user has entered ‘C’, thenyour program should 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.
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
You are required to write a property tax calculator. The basicidea is that you w
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.