Which of the following functions accepts a parameter named dblSales and returns the commission to the calling statement? Assume that the commission should equal the sales multiplied by the commission rate. Use the following table as a guide to the calculation of the commission rate.





a.```

Function Calc(ByVal dblSales As Double, ByRef dblComm As Double)

Dim dblRate As Double

Select Case dblSales

Case Is < 2000

dblRate = .1

Case Is >= 2000

dblRate = .15

End Select

DblComm = dblRate

End Function

```



b.```

Function Calc(ByVal dblSales As Double) As Double

Dim dblRate, dblComm as Double

Select Case dblSales

Case Is < 2000

dblRate = .1

Case Is >= 2000

dblRate = .15

End Select

dblCommission = dblRate * dblSales

End Function

```



c.```

Function Calc(ByVal dblSales As Double) As Double

Dim dblRate As Double

Select Case dblSales

Case Is < 2000

dblRate = .1

Case Is >= 2000

dblRate = .15

End


c.```
Function Calc(ByVal dblSales As Double) As Double
Dim dblRate As Double
Select Case dblSales
Case Is < 2000
dblRate = .1
Case Is >= 2000
dblRate = .15
End Select
Return dblRate * dblSales
End Function
```

Computer Science & Information Technology

You might also like to view...

How are the Rectangle Frame and Rectangle tools different?

What will be an ideal response?

Computer Science & Information Technology

How would you configure a hyperlink from the index.html file to another file named services.html which is located in the same folder?

a. ``` Services; ``` b. ``` Services ``` c. ``` Services ``` d. ``` Services ; ```

Computer Science & Information Technology

Due to security reasons, Java ___________ cannot run from a Web browser in the new version of Java.

a. applications b. applets c. servlets d. Micro Edition programs

Computer Science & Information Technology

____ fields allow users to browse to a file on their computer and upload it to the form host web server.

A. Upload B. File C. Indexed D. Text

Computer Science & Information Technology