Conditionals_Industry added ternary

Added a ternary and input validation if/else if lines of code