Question: Write a program that asks user to enter an item's wholesale cost and its mark-up percentage. It should then display the item's retails price. The

Write a program that asks user to enter an item's wholesale cost and its mark-up percentage. It should then display the item's retails price. The program should implement function in the code. Demonstrate a loop for calculation of retail price.
Formula:  wholesaleCost  +  (percentage/100  * wholesaleCost)
Sample of output:
Enter item wholesale cost: 10
Enter markup percentage: 75
Retail price: 17.50
Calculate again? (Enter Y or N): Y
Enter item wholesale cost: 10
Enter markup percentage: 50
Retail price: 15.00
Calculate again? (Enter Y or N): N
Total marked up price is RM12.50

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Heres a Python program that implements the requested functionality python def calculateret... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!