changed last 2 conditionals to a ternary
removed ternary because it wasn't allowing the desired output
changed wording of output