Starting Out With Visual Basic 8th edition chapter 6 #1 made in visual studio 2017 Retail Price Calculator 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
Starting Out With Visual Basic 8th edition chapter 6 #1
made in visual studio 2017
Retail Price Calculator
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
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
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images