Practice · 2 of 6
Maximum of Three
CHALLENGE
Difficulty: beginner+25 XP
**Description:** Given three integers a, b, c. Print the largest.
**Input:** One line: a b c (−10^9 ≤ each ≤ 10^9).
**Output:** One integer — the maximum.
**Example:** input 3 7 5 → output 7.
*Question:* what if all three are equal?
Press Submit to check your solution.
Back to lesson: Practice: Starter Set