Zmienna warunku CPP

bool condition = // some boolean expression based on your variables
/*
  && is the same of and
  || is the same of or
  !  is the same of not
*/

if(condition)
{
 // do something
}
else
{
 // do something different
}
wolf-like_hunter