Practice
Minimum of Three
EASYSelection
Read three integers. Output the smallest of the three.
Input: Three integers on separate lines. Output: The smallest integer.
Example:
Input: 3
7
5
Output: 3
Premium is coming soon. All grading features are currently unlocked.
Sample Test Cases
Test 1: First value smallest
Inputs: 3, 7, 5
Expected: 3
Test 2: All equal
Inputs: 10, 10, 10
Expected: 10
Test 3: Negative numbers
Inputs: -1, -5, -3
Expected: -5
Ctrl+Enter
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade