Maximum of Three Numbers
Easymathimplementation1s limit· 256 MB
Set by Shivansh
Maximum of Three Numbers
Easy1s limit256 MB
Read three integers a, b, and c and print the largest among them.
Input Format
A single line containing three space-separated integers a, b, and c.
Output Format
A single integer — the maximum of a, b, and c.
Constraints
-10^9 <= a, b, c <= 10^9
Sample
Input
10 25 7
Output
25
Explanation
Among 10, 25, and 7, the largest number is 25.
Loading editor…
Run uses this input. Submit always judges the hidden tests.