Posted by boom on Thu 28th Sep 10:50
download | new post
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- float assesedProperty, tax, rate;
- tax=.92;
- rate=1.05;
- setprecision(2);
- cout << "What is the assesed value of your property: ";
- cin >> assesedProperty;
- cout << "The assesed property value is: " <<setprecision(2) << fixed <<assesedPr operty <<endl;
- cout << "The taxable amount is: " <<setprecision(2) << fixed << assesedProperty*
- tax <<endl;
- cout << "The tax rate for each $100.00 is: $1.05" <<endl;
- cout << "The property tax is:" <<setprecision(2) << fixed << rate*(assesedProper
- ty*tax) <<endl;
- return 0;
- }
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
