while ( n )
{
if ( some_other_object == card )
{
do some stuff...
return ;
}
else
{
card_input( ) ;
}
}
return ;
}
if for the first time my input do not verrify the equality in the if statement, when i'm asked again, even if my other input verrify the condition i'm still asked for my input.