import java.util.Scanner;
public class Experiment
{
public static void main(String[] args)
{
Scanner con = new Scanner( System.in );
final double STATE_TAX_RATE = 0.04;
final double COUNTY_TAX_RATE = 0.02;
double stateTax;
double countyTax;
double totalTax;
double totalSale;
System.out.print( "Enter Amount" );
double amount = con.nextDouble();
double stateTax = amount * STATE_TAX_RATE;
double countyTax = amount * COUNTY_TAX_RATE;
double totalTax = stateTax + countyTax;
double totalSale = amount + totalTax;
System.out.println("Amount of purchase;" + amount + "n/"
+ "State Sales Tax;" + stateTax + "n/"
+ "County Sales Tax;" + countyTax + "n/"
+ "Total Sales Tax;" + totalTax + "n/"
+ "Total Sale;"+ totalSale );