Question: Write an application that accepts from the user the wholesale cost of an item and its markup percentage. ( For example, if an item's wholesale

Write an application that accepts from the user the wholesale cost of an item and its markup percentage. (For example, if an item's wholesale cost is $5 and its retail price is $10, then the markup is 100%)
The program should contain a function named CalculateRetail that receives the wholesale cost and markup percentage as arguments, and returns the retail price of the item.
When the user clicks the Get Retail button, the program should do the following:
- Verify that the values entered by the user for the wholesale cost and the markup percent are numeric and not negative.
- Call the CalculateRetail function
- Display the retail cost as returned from the function.
The application has to be set up like this.
Wholesale Cost ltem :
Markup \% :
Retail Price:
Write an application that accepts from the user

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!