Monday, January 5, 2015

how to calculate property tax on C++

#include<iostream> #include<iomanip> using namespace std; int main() { double ActualValue, AssessValue, tax; cout << "Enter the Actual value of property: $"; cin >> ActualValue; AssessValue = (ActualValue*60)/100; tax = (AssessValue*0.64)/100; cout << setprecision(2) << fixed; cout << "The Actual value of the property is: $" << ActualValue << endl; cout << "The Assessment value of the property is: $" << AssessValue << endl; cout << "The property tax is: $" << tax << endl; return 0;
}

No comments:

Post a Comment