Jefferson Sales wants you to create an application that displays a salespersons monthly commission, given his or
Question:
Jefferson Sales wants you to create an application that displays a salesperson’s monthly commission, given his or her monthly sales and commission rate (entered in decimal form). The commission is calculated by multiplying the monthly sales by the commission rate.
a. Perform the steps involved in creating an OO application. Include a button for clearing the screen.
b. Create an application, using the following names for the solution and project, respectively: Jefferson Solution and Jefferson Project. Save the application in the VB2015\Chap02 folder. Change the form file’s name to Main Form.vb. Change the form’s name to frmMain. Code the application using the Val and Format functions. Add appropriate comments in the General Declarations section and in the coded procedures.
c. Test the application using 5600 as the monthly sales amount and 10% as the commission rate. Then test it without entering any data. Also test it using a letter as the sales amount and commission rate.
Step by Step Answer:
ac Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Jefferson Proje...View the full answer
Students also viewed these Computer science questions
-
Shopper Stoppers wants you to create an application that displays the number of reward points a customer earns each month. The reward points are based on the customers membership type and total...
-
Your science teacher has asked you to create an application that displays how much a person would weigh on the following planets: Venus, Mars, and Jupiter. The applications interface should allow the...
-
K & L Clothiers wants you to create an application that prints a customers sales receipt. A sample receipt is shown in Figure 3-49. Use the following names for the solution and project, respectively:...
-
A student adds NBS to a solution of 1-methylcyclohexene and irradiates the mixture with a sunlamp until all the NBS has reacted. After a careful distillation, the product mixture contains two major...
-
Suppose that f: R R is periodic and of bounded variation on [-, ]. Prove that SN f f almost everywhere as N (see Exercise 14.2.8).
-
If the indirect costs for each duration are $1,200 for 16 weeks, $1,130 for 15 weeks, $1,000 for 14 weeks, $900 for 13 weeks, $860 for 12 weeks, $820 for 11 weeks, and $790 for 10 weeks, compute the...
-
Determine the displacement at point \(C\) of the W14 \(\times 26\) beam made from A992 steel. 8 kip A -5 ft 5 ft. B C -5 ft 5 ft- 8 kip D
-
Parker Company manufactures and sells a single product. A partially completed schedule of the companys total and per unit costs over a relevant range of 60,000 to 100,000 units produced and sold each...
-
a. Write a prototype for a function IsAlphaHigher that can be passed a pair of characters and that will return a Boolean value indicating whether or not the first character is higher alphabetically....
-
Dubois Steel Corporation, as lessee, signed a lease agreement for equipment for five years, beginning January 31, 2011. Annual rental payments of $41,000 are to be made at the beginning of each lease...
-
What value is assigned to the lblNum control when the lblNum. Text = 99 Mod 25 instruction is processed by the computer?
-
In this exercise, you modify the bakery application from the chapter. Use Windows to make a copy of the Bakery Solution folder contained in the VB2015\Chap02 folder. Rename the copy Modified Bakery...
-
Until the 1960s, dinosaurs were thought to be cold-blooded animals, which means they could not regulate their body temperature. Reference 1 describes how the 18 O/ 16 O ratio in dinosaur bones...
-
A single acting reciprocating pump running at 50 rpm delivers \(0.10 \mathrm{~m}^{3} / \mathrm{sec}\) of water. The diameter of the piston is \(600 \mathrm{~mm}\) and the stroke length is \(500...
-
Economy Appliance Co. manufactures lowprice, no-frills appliances that are in great demand for rental units. Pricing and cost information on Economys main products are as shown on page 943. Customers...
-
A 50-hp constant-volume fan is to be retrofitted to a variable-volume fan. Three options are considered: The fan is operated 5,500 hours per year. If the cost of electricity is $0.08/kWh and the...
-
For the case of a balance temperature of 65F, compare your results with the heating degree-days for the three cities directly computed from hourly weather data (these degree-days are widely reported...
-
Cheung Keong Ltd. currently has \($2,150,000\) in current assets and \($860,000\) in current liabilities. The companys managers want to increase the firms inventory, which will be financed by a...
-
Mitchell, a calendar year taxpayer, is the sole proprietor of a fast-food restaurant. His adjusted basis for the building and the related land is $450,000. On March 4, 2015, state authorities notify...
-
One Way Cellular accountants have assembled the following data for the year ended September 30, 2014: Prepare the operating activities section using the indirect method for One Way Cellulars...
-
Patti Garcia owns two cars, referred to as Car 1 and Car 2. She wants to drive one of the cars to her vacation destination, but shes not sure which one (if any) would cost her the least amount in...
-
Open the Wedding Solution.sln file contained in the VB2017\Chap04\Wedding Solution folder. The application should display the number of round tables needed to seat only the guests at a wedding...
-
In this exercise, you modify the application from Exercise 7. The modified application will display the number of rectangular tables needed to seat the bridal party as well as the number of round...
-
A pitcher throws a 0.60 kg ball of clay at a 4.0 kg block of wood. The clay sticks to the wood on impact, and their joint velocity afterward is 2.5 m/s. What was the original speed of the clay (in...
-
A helium-filled balloon, whose envelope has a mass of 0.29 kg, is tied to a 3.8-m long, 0.054-kg string. The balloon is spherical with a radius of 0.40 m. When released, it lifts a length h of the...
-
Give a summary of concepts and the applications for the following quistion: When a 200.0-g mass is attached to a spring, it stretches the spring by 7.50 cm. With that mass-spring system in...
Study smarter with the SolutionInn App