Write a function that returns the maximum of two given integer numbers a and b.
Interface
C++ | int max2(int a, int b); |
C | int max2(int a, int b); |
Java | public static int max2(int a, int b); |
Python | max2(a, b) # returns int |
MyPy Python | max2(a: int, b: int) -> int |
Observation You only need to submit the required procedure; your main program will be ignored.
Input/Output