Pseudocode Compiler
Practice

Largest of Three Numbers

EASYSelection

Read three integers. Output the largest of the three.

Input: Three integers on separate lines. Output: The largest integer.

Example:

Input:  3
        7
        5
Output: 7
Premium is coming soon. All grading features are currently unlocked.

Sample Test Cases

Test 1: Middle value largest
Inputs: 3, 7, 5
Expected: 7
Test 2: All equal
Inputs: 10, 10, 10
Expected: 10
Test 3: Negative numbers
Inputs: -1, -5, -3
Expected: -1
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade