Else statement of if-else is not being executed

i have if-else statement in the code the if statement is executed every time but while statement is not being executed how to fix the problem. i can’t post code but it is of the format -

for( ; ; )
{ if ( condition )
{ if( condtion )
{ if( condition )
{
statement 1;
}
}
else
{
statement 2;
}
}
}