ITCO620-1205B-01 Object-Oriented Applications – Unit 2 – Project2
620 Unit 2 – Variables and Logic
Assignment Type: Individual Project 2 Deliverable Length: Java code with comments and class file
You need to write a program that calculates sales tax and total sale amount. The user should be presented with a menu listing four different products. Based upon their choice, the user enters the quantitly that they desire. The program will then calculate the Subtotal, Sales Tax Amount, and Total Sale Amount. The calculations should be performed as follows:
Subtotal = (Price * Quantity)
Sales Tax Amount = Subtotal * Sales Tax Percentage (sales tax percentage should be 7.5%)
TotalSaleAmount = Subtotal + Sales Tax Amount
Be sure to use variables to store temporary values. The program should output the product sold, quantity sold, and the calculated values for Subtotal, Sales Tax Amount, and Total Sale Amount. Your assignment submittal should include your properly commented java code and the class file.