Write a program to calculate the property tax. Property tax is calculated on 50%, 60% or 70% of the assessed value of the property based on its value range [0, 200.000), [200.000, 350.000), [350.000, ∞], respectively. For example, if the assessed value is $200,000, the property tax is on $120,000.
Assume that the property tax rate is $10 for each $800 of the assessed value that [0, 200.000).
Assume that the property tax rate is $10 for each $900 of the assessed value that [200.000, 350.000).
Assume that the property tax rate is $10 for each $1000 of the assessed value that [350.000, ∞].
Your program should prompt the user to enter the assessed value of the property and then calculate Property Tax. (Here is a sample output.)
Assessed Value: 200000.00
Taxable Amount: 120000.00
Tax Rate for each $900.00: 10
Property Tax: 1333.33