3. Minimum of Two Numbers

Given two integers a and b. Write a function int Min(int a, int b) that returns the minimum of them.
Example 1
Input: a = -1, b = 2
Output: -1
Explanation: -1 is less than 2
Example 2
Input: a = 5, b = 3
Output: 3
Explanation: 3 is less than 5
Example 3
Input: a = 4, b = 4
Output: 4
Explanation: The numbers are equal; you can return either one
easy
JavaScript
Loading...
Line 1, Char 1