Created if/else/elseif statements, and Used Ternary Operators