...## Operator Ternary C++
[Link to reference article]
The ternary operator in C++ is a shorthand way to write an if-else statement. It takes the form of `expr1 ? expr2 : expr3`, where `expr1` is a boolean expression, `expr2` is the expression that will be evaluated if `expr1` is true, and...