Accept any two numbers, if the first number is greater than second then print the sum of these two numbers, otherwise print their difference. Write this program using ternary operator.

Instructor: admin Duration: 1 mins