Can't get my board to read inputs from a switch and output on a 7-segment LCD.

UKHeliBob:
The code is clumsy but may work if you use the and operator ( && ) when testing the inputs

OP, "and" is a synonym for "&&". You can use either.