Question: Homework - double 3 Due Date: 9 1 0 ? 2 0 2 4 Instructions Create a variable to hold the price of an item.
Homework double
Due Date:
Instructions
Create a variable to hold the price of an item. Create a second variable to store how many of that item are being purchased.
Calculate the total including HST for the purchase and display it using two decimal places.
Recall: To print a variable totalusing two decimal places, use system.out.printff total:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
