/*Madison County provides a $5,000 homeowner exemption for its senior citizens. For
example, if a senior’s house is valued at $158,000 its assessed value would be $94,800,
as explained above. However, he would only pay tax on $89,800. At last year’s tax
rate of $2.64 for each $100 of assessed value, the property tax would be $2,370.72. In
addition to the tax break, senior citizens are allowed to pay their property tax in four
equal payments. The quarterly payment due on this property would be $592.68. Write
a program that asks the user to input the actual value of a piece of property and the
current tax rate for each $100 of assessed value.
-----The program should then calculate
and report how much annual property tax a senior homeowner will be charged for this
property and what the quarterly tax bill will be.
assessed value .60*
-5000 pay tax on
property tax ( divide by 100 then multiply by 2.64)
annual property charge
quarterly (divide by 4) /
ADD COMMENTSS
#include "stdafx.h"
#include <iomanip>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
/* This is psuedocode
assessed value *.60
-5000 pay tax on
property tax ( divide by 100 then multiply by 2.64)
annual property charge
quarterly (divide by 4
*/
double amount; //The price the house is valued at
double assessVal; //The assessed value
double aValExemp; //The amount the house will actaully be taxed on with exemptions and the assessed value
double propertyTax; //The tax rate
double quarterlyTax; //The quarterly amount of the tax
cout << "Enter the amount the house is valued at (in dollars): " << endl;
cin >> amount;
assessVal = ( amount * .60 )
cout << "The assessed value will be at: $" << assessVal;
aValExemp = ( assessVal - 5000 )
cout << "Minus the homeowner exemption of $5,000 the total assessed value will be: $" << aValExemp << endl;
cout << "The current tax rate is 2.64 dollars per every 100 dollars of the total assessed value." << endl;
propertyTax = ( ( aValExemp / 100) * 2.64 )
cout << "The tax for the property will be: $" << propertyTax << endl;
quarterlyTax = ( propertyTax / 4)
cout << "The quarterly tax bill will come out to: $" << quarterlyTax <<endl;
cout << setprecision(2) << fixed;
cout << "The average rainfall for " << month1 << ", " << month2 << ", and " << month3 << " is " << average << endl;
}