Write a main Program that computes the total sales on a 95 p
     Write a main Program that computes the total sales on a $95 purchase. Assume that the rate sale tax is 6.5% and the county sale tax Is 2%. Display the purchase price, sale tax, county tax, and the total amount on the screen.   
  
  Solution
this a java program that calculates the TAX and purchase
public class taxcalculator{
   
   
   
 public static void main(String []args){
   
 double amount_of_purchase =95;
 double STATE_TAX = 0.065;
 double COUNTY_TAX = 0.02;
 double state_tax, county_tax, total_tax, total_sale;
   
 state_tax = amount_of_purchase * STATE_TAX;
 county_tax = amount_of_purchase * COUNTY_TAX;
 total_tax = state_tax + county_tax;
 total_sale= amount_of_purchase + total_tax;
   
 System.out.print(\"Amount of purchases: \" + amount_of_purchase + \"\  State Tax:\" + state_tax + \"\  County Tax:\" + county_tax + \"\  Total Tax:\" + total_tax + \"\  total: \" + total_sale );
 }
 }

