#include <iostream>
#include <string>
#include <iomanip>
using namespace std;

int main()
{

double propValue,    //Property Value
    assessment,   //Assessment
    srAssessment, //Sr Assessment
    taxRate,         //Tax rate
    annualPropTax,   //Annual Property tax
    quarterlyTax;  //Quarterly Tax

string name;

const double EXEMPT = 5000,      //shows the total after exemption
    QUARTER = 4,         //represents the amount of quarters in a year
    TAXPERHUNDRED = 0.01,  //represents tax rate for every $100
    SIXTYPERCENT = 0.6;  //Represents the tax based on 60% of original value


//Gets name from user
cout << "Please enter your full name: ";
getline(cin, name);

//gets property value from user
cout << "Enter the actual value of the property: ";
cin >> propValue;


//Gets tax rate
cout << "Enter the tax rate for each $100 of assessed value: ";
cin >> taxRate;

cout << endl << endl;

//Calculates assessment
assessment = propValue * SIXTYPERCENT;

//Calculates Sr. Assessment
srAssessment = assessment - EXEMPT;

//Calculates annual property tax
annualPropTax = srAssessment * taxRate * TAXPERHUNDRED;

//Calculates Quarterly tax
quarterlyTax = annualPropTax / QUARTER;


//Displays owners name
cout << "Property owner's name: " << name << endl;
cout << endl;

cout << setprecision(2) << fixed;
//Displays Assesment
cout << "Assessment: " << setw(18) << "$ " << setw(10) << std::right << srAssessment << endl;

//Displays Annual Property tax
cout << "Annual Property Tax" << setw(11) << "$ " << setw(10) << std::right << annualPropTax << endl;

//Displays Quarterly Property tax
cout << "Quarterly Property Tax" << setw(8) << "$ " << setw(10) << std::right << quarterlyTax;
cout << endl << endl;



/*
This is the current output

Assessment:                  $ 175000.00
Annual Property Tax          $ 7177.50
Quarterly Property Tax       $ 1780.63


    What i need it to do is display as so:

Assessment:                  $ 175000.00
Annual Property Tax          $   7177.50
Quarterly Property Tax       $   1780.63

*/
}