Question: py 4- An electronic shop sells threp tunne if items as follows: Write a program to ask the user how many device he bought from
py
4- An electronic shop sells threp tunne if items as follows: Write a program to ask the user how many device he bought from each type, then add 15% tax, and display the total price of each type, the tax, and the overall total. Enter the number of smart watches purchased: 2 Enter the number of mobile phones purchased: 3 Enter the number of tablets purchased: 1 Smart Watch Total: 2371.0 Mobile Total: 9662.55 Tablet Total: 1550.5 Subtotal: 13584.05 Tax: 2037. 6074999999998 Tota1: 15621.6575
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
