Answer:
Explanation:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
const double total = 32905.65;
double salesTax = total*(.04);
double countyTax = total*(.02);
double productSales =total-salesTax-countyTax;
double totalTax = salesTax+countyTax;
cout << "Month: September" <<endl;
cout << "Year: 2008" << endl;
cout << "-----------" << endl;
cout << "Total collected: $" <<fixed << setprecision(2) << total << endl;
cout << "Product Sales: $" << fixed<< setprecision(2) << productSales <<endl;
cout << "County Sales Tax: $" <<fixed << setprecision(2) << countyTax <<endl;
cout << "State Sales Tax: $" <<fixed << setprecision(2) << salesTax << endl;
cout << "Total Sales Tax: $" <<fixed << setprecision(2) << totalTax << endl;
system("pause");
return 0;
}