Question: Use the following selection structure to answer the next three questions. If intNumber 500 Then intNumber = intNumber * 3 End If End If 36.
Use the following selection structure to answer the next three questions.
If intNumber<= 100 Then intNumber = intNumber * 2
Else
If intNumber> 500 Then intNumber = intNumber * 3
End If
End If
36. Assume intNumber initially contains 50. What value intNumber will contain after the above selection structure is executed?
37. Assume intNumber initially contains 500. What value intNumber will contain after the above selection structure is executed?
38. Assume intNumber initially contains 1000. What value intNumber will contain after the above selection structure is executed?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
