QUESTION IMAGE
Question
question 20
4 pts
given the following code, the else branch is taken for which range of x?
if x >= 15:
do something
else:
do something else
x <= 15
x < 15
x >= 15
Step1: Analyze if - condition
The if condition is x >= 15.
Step2: Determine else - condition
The else branch is taken when the if condition is false. The opposite of x >= 15 is x < 15.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. $x < 15$