Respuesta :
Answer:
numX = 3
Explanation:
First, let's analyze what the code is showing:
If both conditions in the if-statement are true, then numX = 3. If one or both conditions are false, then numX = 7 ('and' means that both conditions have to be true for the if-statement to become true).
[tex]3<5[/tex] - this statement is true.
[tex]8[/tex] != [tex]3[/tex] - this statement is also true (!= means 'not equal').
Since both conditional statements are true, then numX must equal [tex]3[/tex].
Hope this helps :)
Answer:
numX = 3
Explanation:
First, let's analyze what the code is showing:
If both conditions in the if-statement are true, then numX = 3. If one or both conditions are false, then numX = 7 ('and' means that both conditions have to be true for the if-statement to become true).
- this statement is true.
!= - this statement is also true (!= means 'not equal').
Since both conditional statements are true, then numX must equal .