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

Function: the larger of two

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

Write a function max2(a, b) that returns the larger of two numbers. Read two integers and print the larger one.

Example

Input:

3 8

Output:

8

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