Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 4 a) Write a C++ program that asks a user to enter the product cost and its markup percentage. Then, the program should display
QUESTION 4 a) Write a C++ program that asks a user to enter the product cost and its markup percentage. Then, the program should display the product retail price. For example, if the product cost is RM1000 and the markup percentage that entered by user is 50%, then the product retail price would be RM1500. Create a function name salePrice ) that receives the product cost and the markup Percentage as parameter and return the product retail price. (6 marks)
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