Pseudocode Compiler
Practice

Sum of Two Numbers

EASYArithmetic

Read two integers and output their sum.

Input: Two integers on separate lines. Output: A single integer โ€” the sum.

Example:

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

Sample Test Cases

Test 1: Basic addition
Inputs: 5, 3
Expected: 8
Test 2
Inputs: 10, 20
Expected: 30
Test 3: Negative number
Inputs: -5, 3
Expected: -2
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade