Question: Objective This homewor math, input/output (printf with format specifiers). k is designed to practice more on Java basics, i.e., variables, constants, expressions, Part 1. Programming

 Objective This homewor math, input/output (printf with format specifiers). k is

Objective This homewor math, input/output (printf with format specifiers). k is designed to practice more on Java basics, i.e., variables, constants, expressions, Part 1. Programming Assignment (44 points) A campus bookstore sells T-shirt, potato chips, and Coke. The list prices are: $18.95 for T-shirt, $1.79 for a bag of potato chips, and $2.99 for a 12-pack Coke ($1.20 deposit as well). All merchandise except Coke is on sale with 15% off the list price. T-shirt is also charged a 6% Michigan sales tax. A customer shops at the store to buy these items. Write a Java program (CashRegister.java) to simulate the shopping process, i.e., interacts with the customer and prints a receipt. Important Notes Please read the instructions carefully and make sure your math (tax, deposit, etc.) is correct in your program. See the helpful sample output on the back of the handout. Please refer to HW1's General Requirements section concerning variables, constants, comments, indentations, output formatting, etc. Your program output should look exactly as in the sample output. You must use printf method with correct format specifiers. Using only spaces and tabs will receive zero credit. Part 2. MyProgrammingLab Exercises (11 points) du on 1/31 /2019 from Ch 25 to the end of the Chapter 2 (total

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!