Question: Write a program that calculates the sales tax on a purchaced item. All outputs need to be rounded to two decimal places. Input: Enter the
Write a program that calculates the sales tax on a purchaced item. All outputs need to be rounded to two decimal places.
Input:
Enter the price of the item:
Enter the sales tax percentage:
Output:
Your total is $price
You can assume:
All inputs are valid numbers greater than
Sales tax is entered as a percentage
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
