CJCoding With Joseph
15per day

Print the Larger of Two

Two ints a and b are given. Use a ternary to print whichever is larger:

8

Expected Output:

8
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.