Wrote an if/else statement that we are going to change into a ternary statement.