Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Which of the following statements is NOT true for the given code:
if x < 0
y = -1
if x >= 2
y = 2
end
y = -1 is executed only if the condition x<0 is true.
y is not defined when both conditions are false, that is, when 0 <= x <= 2.
y = 2 is executed only if the condition x<0 is false and the condition x>=2 is true.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!