enter the assessed value and tax rate
caculate th annual property tax by dividing the assessed value by 100 and then multiplying the result by the tax rate
display the annual property tax
#include <iostream>
using namespace std;
int main(){
float assessed_value, tax_rate;
cout<<"Enter assessed value: ";
cin>>assessed_value;
cout<<"Enter tax rate (e.g 18): ";
cin>>tax_rate;
cout<<"Annual property tax: "<<assessed_value/100 * tax_rate;
return 0;
}
Comments
Leave a comment