Question: cpp plz Write a program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's
Write a program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. The program should have a function called calculateRetail that receives the wholesale cost and the markup percentage as arguments and returns the retail price of the item. For example: - If an item's wholesale cost is 5.00 and its markup percentage is 50 percent, then the item's retail price is 7.50. Input Validation: - Do not accept negative values from the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
