Write an expression using the conditional operator (? :) that compares the values of the variables x and y. The result (that is the value) of this expression should be the value of the larger of the two variables.

LANGUAGE: JAVA

CHALLENGE:

Write an expression using the conditional operator (? 🙂 that compares the values of the variables x and y. The result (that is the value) of this expression should be the value of the larger of the two variables.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,