This Program takes two numbers and finds the greatest among these using the ternary operator. A ternary operator is an operator which takes three operators rather than one or two that most operator uses. The ternary operator provides a way to shorten a simple if-else block.
0 Comments