In mathematics, a ternary operation is an n-ary operation with n = 3. A ternary operation on a set A takes any given three elements of A and combines them to form a single element of A.
In computer science, a ternary operator is an operator that takes three arguments.
The function
T
(
a
,
b
,
c
)
=
a
b
+
c
{\displaystyle T(a,b,c)=ab+c}
is an example of a te...