In programming, the ternary operator is used for conditional expressions.
The ternary system consists of three components.
The musical piece follows a ternary form with three distinct sections.
The chemist synthesized a ternary compound with three different elements.