Consider the following conditional code, which returns a Boolean values

if ((x > 25) && (y >100))

   return 'false';

else if((x ≤ 25) && (y ≤ 100))

   return 'true';

else if((x > 25) && (y ≤ 100))

      return 'false';

else

   return 'true';

Simplify it by filling in the following blank with a single Boolean expression without changing the behaviour of the conditional code.

if (__________)

    return 'true';

else

    return 'false'; 

1
x > 25
2
x ≤ 25
3
y >100 
4
y ≤ 100

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation