Question: How do I solve the question in Java, thanks in advance Question 1: Write a program that inputs the name, quantity, and price of three
Question 1: Write a program that inputs the name, quantity, and price of three items. The name may contain spaces. Output a bill with a tax rate of 6.25% Sample input and output are shown as follows: Sample output Input name of item 1: lollipops Input quantity of item 1: 10 Input price of item 1: 0.50 Input name of item 2: diet soda Input quantity of item 2: 3 Input price of item 2: 1.25 Input name of item 3: chocolate bar Input quantity of item 3: 20 Input price of item 3: 0.75 Your bill: Item lollipops diet soda chocolate bar Quantity 10 3 20 Price 0.50 1.25 0.75 Total 5.00 3.75 15.00 Subtotal 6.25% sales tax Total 23.75 1.48 25.23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
