The correct line of pseudocode to test whether the person is over 21 and under 65 is:
if age > 21 AND age < 65
This condition checks that the age is greater than 21 and less than 65 simultaneously, which is the intended logic.
if age > 21 AND age < 65
if age > 21 OR age <65
if age < 21 OR 65
if age NOT = 21OR 65
1 answer
The correct line of pseudocode to test whether the person is over 21 and under 65 is:
if age > 21 AND age < 65
This condition checks that the age is greater than 21 and less than 65 simultaneously, which is the intended logic.