Ternary

creating a ternary for the type of user input.