Write an if-else statement that assigns 0 to x when y is equal to 10. Otherwise, it

Question:

Write an if-else statement that assigns 0 to x when y is equal to 10. Otherwise, it should assign 1 to x.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: