Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Profit Margin : The markup of an item is the difference between its selling price and its purchase - price . The profit margin is
Profit Margin: The markup of an item is the difference between its selling price and its purchase- price. The profit margin is the quotient (markup / selling price), expressed as a percentage.
Start writing an event procedure with the header;
Private Sub btnCompute_Click(...) Handles btnCompute.Clcik, and has one- line of code (statement) for each step described below to calculate the profit margin of an item. Lines that display data should use the given variable names.
- Declare the variable purchasePrice as type Decimal and assign it the value 215.50.
- Declare the variable sellingPrice as type Decimal and assign it the value 29.99.
- Declare the variable markup as type Decimal and assign it the difference of the selling price and purchase price.
- Declare the variable pofitMargin as type Decimal and assign it 100 times the quotient of (markup / sellingPrice).
- Display the pofitMargin in a list box.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started