CodeFights – Add


A function that adds two numbers.

Example

For param1 = 1 and,  param2 = 2 the output should be
add(param1, param2) = 3.

This function takes the two params and returns an answer without the need to create an additional variable.

Links

Leave a Reply

Your email address will not be published. Required fields are marked *