Question
pleas typing 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
pleas typing
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 Thank You
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started