Given the following declarations, write a Boolean expression for each of the problems listed below.

boolean x, y, z;

int i, j, k;

Write a Boolean expression that is true if and only if either x or y is true but not both

boolean x, y, z;

int i, j, k;

Write a Boolean expression that is true if and only if either x or y is true but not both