Question 1
Assume that a, b, and c are three distinct integers. What will X represent after the execution of the following procedure?
Step 1. Maintain variable X and initialize it to 0
Step 2. If a < b then go to Step 4
Step 3. If b < c then store b in X else store c in X and stop the procedure.
Step 4. If a < c then store a in X else store c in X
Largest among a, b, and c
Smallest among a, b, and c
X will always be 0
Second smallest among a, b, and c