tanisha5karthik Asked: January 2023 rewrite the snippet using ternary operators a if agtb d a b else d b a b if