Question: 13. Open the VB2015Chap05Carillo SolutionCarillo Solution (Carillo Solution.sln) file. The txtSales control should accept only numbers, the period, and the Backspace key; code the appropriate

13. Open the VB2015\Chap05\Carillo Solution\Carillo Solution (Carillo Solution.sln) file.

The txtSales control should accept only numbers, the period, and the Backspace key;

code the appropriate procedure. The btnCalc_Click procedure calculates a 3.5% commission when the annual sales are greater than $165,000; otherwise, it calculates a 2.5%

commission. Modify the procedure to use the commission rates shown below. Use the If...Then...Else statement to code the multiple-alternative selection structure. Test the application seven times, using 125000, 165000, 15000, 165000.99, 200000, 50000, and 50000.01 as the annual sales.

Annual sales ($) Commission rate 0–50,000 1.5%

50,000.01–75,000 2.0%

75,000.01–165,000 2.5%

Over 165,000 3.5%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock