Open the VB2015Chap05Carillo SolutionCarillo Solution (Carillo Solution.sln) file. The txtSales control should accept only numbers, the period,

Question:

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 75,000.01–165,000 Over 165,000 2.0% 2.5% 3.5%

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: