Question: This should be in python. You work in a skate shop and have been tasked with coding a program to calculate the cost of purchasing
This should be in python.
You work in a skate shop and have been tasked with coding a program to calculate the cost of purchasing skates. The cost of the purchase can be determined by the type of skates and the number of pairs of skates purchased. Use the table below to determine the cost of the purchase:
Type of skates Number of pairs Price per pair of skates
Roller Skates $
Roller Skates $
Roller Blades $
Roller Blades $
Price per pairs of skate values should be stored within constants
The program should:
Utilize functions for menu display, data entry, calculations and output.
Prompt the user with a menu that asks which type of skates they are purchasing. Validate menu choices so no invalid choices are permitted
Ask the user how many pairs of skates they are buying. Number of pairs of skates should not be less than
Determine the total cost of the purchase using price per pair of skate constants.
Also, add a sales tax on to the final cost.
Display the subtotal, tax, and the total price of the purchase with correct formatting for currency.
Sample output is for formatting purposes only, your totals will be different.
Sample run of the program:
Roller Skates
Roller Blades
enter choice of skates
how many pair of Roller Skates
The customer purchased pairs of Roller Skates
The cost is
The sales tax is
The total charge is
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
