Write a C program that asks the user to enter an iPhone 6 wholesale cost and its markup percentage. Then, it should display the iPhone 6 retail price. For example:
If user enters wholesale cost of iPhone is RM3 500.00 and its markup percentage is 100%, then the iPhone retail price RM7 000.00. The name of this function for this program is retailPrice ( ) that receives the wholesale cost and the markup percentage as parameters. Once the calculation has been made, this function will display the price.
a- function with return value - display in main(),
b- function without return value - display output in function definition
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here