30:00
Given two integers num1 and num2, return the sum of the two integers.
−100≤num1,num2≤100-100 \leq \text{num1}, \text{num2} \leq 100−100≤num1,num2≤100
Run code to see results.
Read num1 = 12 and num2 = 5. Adding means starting at num1 and moving num2 steps along the number line.
12
num1
+
5
num2
=
?
sum
Number line
jump of 10
step of 1
Given two integers num1 and num2, each between -100 and 100, return their sum.