Skip to content
CampusEduX

Larger Value (Ternary)

Easyjava
Learn the Concept: Ternary Operator

Read two integers and print the larger one using a single ternary expression.

Input: two integers separated by whitespace.

Output: one line — the larger value.

Related Problems

Input (stdin)

Output

Run your code to see output here...