using conditional operators to test input

If you see a check mark, the answer you gave was correct; if you see an X, the answer was incorrect.