← Back to If Statements
Question 208
Larger of Two Numbers (Practice)
Larger of Two Numbers (Practice)
Read two integers separated by a space and print the larger of the two. Compare them with an if/else statement and print only the winning number (no words). If you are curious about ties, the test inputs always use two different numbers.
Expected Output:
8= newline. No newline after the last line.
Hints3 available
Sign in to use hintsTopics:
If Statements
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.