178k views
0 votes
Which of the following conditions will evaluate to True when the intPackages variable contains the value 100?

A. If intPackages = 100 Then

B. If intPackages <> 0 Then

C. If intPackages > 1 Then

D. All of the above would evaluate to True.

User Stillie
by
5.0k points

1 Answer

5 votes

Answer:

D. All of the above would evaluate to True.

Step-by-step explanation:

When the intPackages variable contains the value of 100. It means:

- It's equal to 100, so A is true.

- It's not equal to 0, so B <> 0 is true

- 100 is larger that 1, so C > 1 is true

So the correct answer is D. All of the above would evaluate to True.

User Gajendra Kumar
by
4.8k points