Answered step by step
Verified Expert Solution
Link Copied!

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.

  1. Declare the variable purchasePrice as type Decimal and assign it the value 215.50.
  2. Declare the variable sellingPrice as type Decimal and assign it the value 29.99.
  3. Declare the variable markup as type Decimal and assign it the difference of the selling price and purchase price.
  4. Declare the variable pofitMargin as type Decimal and assign it 100 times the quotient of (markup / sellingPrice).
  5. Display the pofitMargin in a list box.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Real Time Analytics In Big Data A Comprehensive Guide For Everyone

Authors: Lennox Mark

1st Edition

B0CPTC9LY9, 979-8869045706

More Books

Students also viewed these Databases questions

Question

3. Outline the four major approaches to informative speeches

Answered: 1 week ago

Question

4. Employ strategies to make your audience hungry for information

Answered: 1 week ago