Sum of Two Numbers · Compiler
Sum of Two Numbers
A thermometer records a starting temperature and then a signed change in degrees. Compute the final temperature.
- Input
- Two space-separated integers on one line, first the starting temperature and then the change. Each is from -1000 to 1000.
- Output
- Print the final temperature as an integer.
Compiler Explorer runs your code when you run or check it.
Loading your exercise draft…