Largest of Four Numbers
hardQuestion 342Read four integers with scanf and print the largest of them, with no trailing newline. For input 3 9 2 7 the output is 9; for input 10 4 15 6 the output is 15.
Expected output
9= newline. No newline after the last line.
Hints4 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.