Asked by Matt
Write a program that will input an item’s wholesale cost and its markup percentage.
The program will output the item’s retail price. The program should repeat for several input values.
For example, if an item cost is 5.00 and markup is 100%, then the retail price is 10.00
or if an item cost is 5.00 and the markup is 50%, then the retail price is 7.50
Use a method called calculateRetail that takes the wholesale cost and markup percentage as arguments and returns the retail price.
The program will output the item’s retail price. The program should repeat for several input values.
For example, if an item cost is 5.00 and markup is 100%, then the retail price is 10.00
or if an item cost is 5.00 and the markup is 50%, then the retail price is 7.50
Use a method called calculateRetail that takes the wholesale cost and markup percentage as arguments and returns the retail price.
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.