DSA Tutorial - Logic Building Question 11

Last Updated :
Discuss
Comments

What will be the output of the following code?
( Where, || is a logical operator )

x = 5;
y = 10;

if(x > 3 || y < 5) {
print("Condition True");
} else {
print("Condition False");
}


Condition False

Condition True

Nothing

Error

Tags:
Share your thoughts in the comments