Which of the following program segments is equivalent to the program segment given below?
```
If Pay >= 500 Then
Set TaxRate = 0.3
End If
If (Pay >= 300) AND (Pay < 500) Then
Set TaxRate = 0.2
End If
If (Pay >= 100) AND (Pay < 300) Then
Set TaxRate = 0.1
End If
```
a. ```If Pay > 100 Then
Set TaxRate = 0.1
Else
If Pay > 300 Then
Set TaxRate = 0.2
Else
If Pay > 500 Then
Set TaxRate = 0.3
End If
End If```
b. ```If Pay >= 500 Then
Set TaxRate = 0.3
Else
If Pay >= 300
Set TaxRate = 0.2
Else
If Pay >= 100 Then
Set TaxRate = 0.1
End If
End If
End If```
c. ```If Pay >= 500 Then
Set TaxRate = 0.3
Else
Set TaxRate = 0.2
If Pay > 100 Then
Set TaxRate = 0.1
End If
End If```
d. none of the above are equivalent to the given example
B
You might also like to view...
Match the following terms to their meanings:
I. Parent window II. Modal window III. Pop-up window IV. Yes V. Comment A. Displays the object in its own window on top of all other open objects B. User can't enter any information in the parent window until this window is closed C. Explanatory information about the macro D. The Pop Up property setting that displays an object in its own window E. The original window that opens the modal window
The Open dialog box is a common dialog box that displays the same way in all of the Office programs
Indicate whether the statement is true or false
In order for the NOT function to return a true value, all arguments must be false
Indicate whether the statement is true or false
To combine two or more cells into one cell, click the ____.
A. Merge Cells button B. Split Cells button C. Cut button D. Sort button