Given the boolean variable isFullTimeStudent and the integer variable age , write an expression that evaluates to true if age is less than 19 or isFullTimeStudent is true .

Given  the boolean  variable  isFullTimeStudent and the integer  variable  age , write an expression  that evaluates  to true  if age is less than  19 or isFullTimeStudent is true .

LANGUAGE: C++

CHALLENGE:

Given  the boolean  variable  isFullTimeStudent and the integer  variable  age , write an expression  that evaluates  to true  if age is less than  19 or isFullTimeStudent is true.

SOLUTION:


isFullTimeStudent || age < 19

Add comment