You are so close! Think of it this way. There are only two possible answers for Y in the expression
Y = X % 2
for ALL X values. What is it? Play with multiple X values ββto see if you can find the values ββfor Y.
Further, is there anything you can define about what the value of Y says about the value of X? That is, can you use the Y value to answer the problem you are trying to solve?
source share