public static void Main()
Console.WriteLine("Set the value of X: ");
int X = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Set the value of Y: ");
int Y = Convert.ToInt32(Console.ReadLine());
Z = (9*X>3*Y)|(5*Y<9*X)&(X%Y)>1;
Console.WriteLine("The result of the expression 'Z=(9X>3Y)||(5Y<9X)&&(X%Y)'");
Console.WriteLine("With X={0}, Y={1}",X,Y);
Console.WriteLine("Is Z={0},",Z);