Given the integer variables yearsWithCompany and department , write an expression that evaluates to true if yearsWithCompany is less than 5 and department is not equal to 99 .

Given  the integer  variables  yearsWithCompany and department , write an expression  that evaluates  to true  if yearsWithCompany is less than  5 and department is not equal  to 99 .

LANGUAGE: C++

CHALLENGE:

Given  the integer  variables  yearsWithCompany and department , write an expression  that evaluates  to true  if yearsWithCompany is less than  5 and department is not equal  to 99.

SOLUTION:


yearsWithCompany < 5 && department != 99

Add comment