226k views
4 votes
if (x is greater than 50) AND (y is less than 20) output ""Yes"" else output ""No"" Assuming x equals 55 and y equals 25 then the output would be:

1 Answer

5 votes

Answer:

"No".

Step-by-step explanation:

The if statement evaluates to:

if (true AND false), which is equivalent to if (false), and thus the else clause is evaluated.

User Felipe Kenji Shiba
by
6.9k points