← Problem book: C Lesson 83 of 96 · 10 XP

Function: the largest of three

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

Using the function max2(a, b) from the previous problem, find the largest of three numbers: max2(max2(a, b), c). Read three integers and print the largest one.

Example

Input:

1 7 3

Output:

7

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.