Coding
Published on

Authors

Solution one:

Simply return the summation of the two numbers.

return param1 + param2

Solution two:

Find the addition using library function sum. The advantage of the sum function is that it can take variable number of arguments. For example, sum(1, 2, 3, 4) will also work.