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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!