Create an application that lets the user enter an items wholesale cost and its markup percentage. It
Fantastic news! We've Found the answer you've been seeking!
Question:
Create an application that lets the user enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example:
- If an item’s wholesale cost is $5.00 and its markup percentage is 100 percent, then the item’s retail price is $10.00.
- 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.
The program should have a method namedCalculateRetail that receives the wholesale cost and the markup percentage as arguments and returns the retail price of the item.
User to get user entry and display the result on the browser with appropriate description(s).
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Posted Date: