CodeMIRAI
0 XP

Largest of three

Easy +30 XP Solved

Read three whole numbers and print the largest one.

Input
3 9 4
Expected output
9
Input
-1 -7 -3
Expected output
-1
Show a hint

Start with max = a, then compare max with b and with c.

Show a solution
C
Loading the editor…
Run the tests to check your solution.