CJCoding With Joseph
15free / daySign inCreate account

Larger Struct Field

A Pair struct with int fields a and b is defined and initialized to {12, 4}. Print whichever field is larger.

Expected Output:

12

= newline. No newline after the last line.

Hints3 available
Topics:
Structs
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.