//Jacob Silvestre CSC5 Chapter 2, P. 81, #3
//
/*************************************************************************
 *
 * COMPUTE SALES TAX
 * ____________________________________________________________
 * This program computes the total sales tax on a $52 purchase with  
 * a state tax rate of 4 percent and county tax of 2 percent.
 * 
 * Computation is based on the formula:
 * totalTax = .04 * 52 + .02 * 52
 * ____________________________________________________________
 * INPUT
 *	52       : cost of purchase
 *  .04 	 : state tax rate
 *  .02		 : county tax rate 
 * 
 * OUTPUT
 * totalTax  : total sales tax
 *
 *************************************************************************/
#include <iostream>
using namespace std;

int main()
{
	double totalTax; //OUTPUT - Total sales tax
	
	//
	//Calculate total Sales tax 
	totalTax = .04 * 52  + .02 * 52; 
	
	// 
	// Output Result
	cout << "The total sales tax is $"<< totalTax << endl; 
	
	return 0; 
}