In the below table, if a sale man attain a sale volume of $6000, he will be paid $6000x15%=$900.00. A visual basic code to calculate the commissions is as follows: * Sales Volume($) Commissons <2000 9% <5000 12% >=5000 15% Table 1: Commissions Payment Table Private Sub Command1_Click() Dim Sales, comm As Single Sales = Val(Text1.Text) 1-... comm = Sales * 0.09 2-... comm = Sales * 0.12 3-.. comm = Sales * 0.15 End If Text2.Text = comm End Sub 1-lf Sales < =2000 Then 2-Elself Sales>= 2000 And Sales<= 5000 Then 3-Elself Sales>= 5000 Then 1-lf Sales < 2000 Then 2-If Sales> 2000 And Sales<= 5000 Then 3-If Sales>= 5000 Then 1-lf Sales < 2000 Then 2-lf Sales< 5000 Then 3-Elself Sales>= 5000 Then 1-lf Sales < 2000 Then 2-Elself Sales>= 2000 And Sales< 5000 Then 3-Elself Sales>= 5000 Then
In the below table, if a sale man attain a sale volume of $6000, he will be paid $6000x15%=$900.00. A visual basic code to calculate the commissions is as follows: * Sales Volume($) Commissons <2000 9% <5000 12% >=5000 15% Table 1: Commissions Payment Table Private Sub Command1_Click() Dim Sales, comm As Single Sales = Val(Text1.Text) 1-... comm = Sales * 0.09 2-... comm = Sales * 0.12 3-.. comm = Sales * 0.15 End If Text2.Text = comm End Sub 1-lf Sales < =2000 Then 2-Elself Sales>= 2000 And Sales<= 5000 Then 3-Elself Sales>= 5000 Then 1-lf Sales < 2000 Then 2-If Sales> 2000 And Sales<= 5000 Then 3-If Sales>= 5000 Then 1-lf Sales < 2000 Then 2-lf Sales< 5000 Then 3-Elself Sales>= 5000 Then 1-lf Sales < 2000 Then 2-Elself Sales>= 2000 And Sales< 5000 Then 3-Elself Sales>= 5000 Then
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 11PE
Related questions
Concept explainers
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L