tertiary statement comparing two statements and resolving both to boolean values for comparison