Find the sum of 2 numbers

Find the sum of 2 numbers

Write a method to find the sum of 2 numbers.

Example 1:


input data:
31 4
output:
35

Example 2:


input data:
17 -1
output:
16
View Code Template
View Java Solution

Seda
Seda Kunda is a web designer and developer with a degree in Computer Science and a great passion for code. Besides code, she enjoys pepperoni pizza, watching the bachelor and sleeping in on Saturdays.
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

2 thoughts on “Find the sum of 2 numbers

Comments are closed.