Programming Example
? :,Conditional Expression or ternary operator, same program in simple manner
Study this program carefully to understand the logic, output, and explanation in a structured way.