This activity demonstrates how to declare variables and create a scanner object in Java. First, the user will be asked to input the purchase amount. Next, the program will calculate and display the total purchase amount, which also includes the following:
- stateTax
- countyTax
- cityTax
- totalTax
- totalSale