Create a app that calculates a salesperson commission

Assignment Help Visual Basic Programming
Reference no: EM13933250

(Sales Commission Calculator Application) Develop an application that calculates a salesperson's commission from the number

of items sold. Assume that all items have a fixed price of $10 per unit. Use a Select Case statement to implement the

following sales commission schedule:

Fewer than 10 items sold = 1% commission

Between 10 and 40 items sold = 2% commission

Between 41 and 100 items sold = 4% commission

More than 100 items sold = 8% commission

a) Copying the template to your working directory. Copy the directory C: Examples Tutori al 12Exerci sesSal esCommi ssi onCal

cul ator to your C: Si mpl yVB2008 directory.

b) Opening the application's template file. Double click Sal esCommi ssi onCal cul a-tor. sl n in the Sal esCommi ssi onCal cul

ator directory to open the application.

c) Defining an event handler for the Button's Click event. Create an event handler for the Calculate Button's Cl i ck event.

d) Displaying the salesperson's gross sales. In your new event handler, multiply the number of items that the salesperson has

sold by 10, and display the resulting gross sales as a monetary amount.

e) Calculating the salesperson's commission percentage. Use a Sel ect Case statement to compute the salesperson's

commission percentage from the number of items sold. The rate that is selected is applied to all the items the salesperson

sold.

f) Displaying the salesperson's earnings. Multiply the salesperson's gross sales by the commission percentage determined in

the preceding step to calculate the salesper- son's earnings. Remember to divide by 100 to obtain the percentage.

g) Running the application. Select Debug > Start Debugging to run your application. Enter a value for the number of items sold

and click the Calculate Button. Verify that the gross sales displayed is correct, that the percentage of commission is correct

and that the earnings displayed is correct based on the commission assigned.

h) Closing the application. Close your running application by clicking its close box.

i) Closing the IDE. Close the Visual Basic IDE by clicking its close box.

Attachment:- Tutorial12.zip

Reference no: EM13933250

Questions Cloud

Investigate the stability of the system at each position : Determine the positions of static equilibrium and investigate the stability of the system at each position. Take the springs to be sufficiently long so that they remain effectively horizontal.
How does file drawer phenomenon influence the entire body : How does the "file drawer phenomenon" influence the entire body of research on a subject? Provide an example of the "file drawer phenomenon".
What is coefficient of dispersion ans what purpose it serve : What is coefficient of dispersion? What purpose does it serve? Prove that the some of the squared deviations is least when taken from the mean.
List the hazards evident : List the hazards evident in this situation and identify the processes which could have indentified these hazards and prevented future hazards being caused.
Create a app that calculates a salesperson commission : Develop an application that calculates a salesperson's commission from the number of items sold. Assume that all items have a fixed price of $10 per unit. Use a Select Case statement to implement the following sales commission schedule:
Identify the hr risk issues : Identify the HR risk issues; assess if the risk factor is high, medium, or low; and give an explanation of your risk factor rating. Present two socially responsible corrective measures you would recommend to eradicate or diffuse the risk
Case analysis of booking publshing : Case Analysis of Booking Publshing in 2010. 1. Analyze the book publishing industry prior to the e-book revolution using Porter's five-force model.
Briefly explain the file drawer phenomenon : Briefly explain the file drawer phenomenon and how does the file drawer phenomenon influence the entire body of research on a subject?
Relationships between both white and black americans : How did the original definition of the Civil War as "a white man's war" affect the strategies adopted by--and the relationships between--both white and black Americans? How and why did this definition change?

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Develop a program that manipulates and processes numbers

You should develop a program that manipulates and processes numbers. Your program should read a text file that has 20 random numbers between 1-40

  Write code in vba to determine the row number

Write code in VBA to determine the row number of the last row with data. Are there any precautions/edge cases to be aware of for that code

  Write a program that asks for the amount of the bill

Write a program that asks for the amount of the bill and percentage tip and calculates the tip. The program should use variables for each of the quantities and display the outcome in a text box with a label. Test the program on a bill of $20 and a..

  Theory of charisma described as a double-edge sword

Why is the theory of charisma described as a double-edge sword and please identify a leader that used charisma in a negative manner

  Create a sum swamp game in visual basic

Create a Sum Swamp game in visual basic.

  Write a program that requests the marginal revenue

Write a program that requests the marginal revenue, marginal cost, fixed cost, and number of units of the product produced and sold and then displays one of the following three outputs: Profit, Loss or Break Even.

  Design a logic for a program

Design a logic for a program that allows a user to enter 15 numbers, then displays each number and its difference from the numeric average of the numbers entered.

  Develop calendar screens for windows

Develop calendar screens for Windows and imagine you need to present IT troubleshooting best practices to junior systems administrators at an IT department meeting to ensure departmental efficiency with solving issues.

  Send a printout of interface to the printer

write a visual basic instruction to specify that of printform1 control should send a printout of interface to the printer.

  Write a program, and store it in a file called

Write a program, and store it in a file called Travel Expenses.xlsm, that does the following: a) It asks for a person's first name and stores it in firstName; b) it asks for a person's last name and stores it in lastName

  Design the layout of a typical calculator in a windows form

Design the layout of a typical calculator in a Windows form. This requires numerical entry using buttons (operation buttons, equals button) and a method to store data in a "memory" and be able to recall it for later use

  Modify the program by creating a separate class

Modify the program by creating a separate class called ProcessShipping to calculate the shipping charge for each package

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd