anybody tell me why this code will not print out the value for 'i'
any help greatly appreciated.
I know its probably the logic in the nested if statements, but i dont understand why.
for(i = 123 ; i < X ; i++) // output machine
{ //output.println(i + "i");//*******rem latr**********
if((x != y) && (x != z) && (y != z))
{
if((x < y) && (y < z))
{
if((x == 0) && (y == 0) && (z == 0))
{
output.println(i); // payload
}
}
}
z = z + 1;
if(z == 10)
{
z = 0;
y = y + 1;
if(y == 10)
{
y = 0;
x = x + 1;
}
}