What Is The Output? Int X = 1, Y = 7, Z = 5; For(Int I=0;I. what is the output?
int x = 1, y = 7, z = 5;
for(int i=0;i<2;i++)
{
if (x > 0)
{
if (y < 5)
{
System.out.println(“message one”);
}
else
{
System.out.println(“message two”);
}
}
else if (z > 6)
{
System.out.println(“message three”);
}
else
{
System.out.println(“message four”);
}
}
System.out.println(“message five”);