Select Page

Problem Name : Add

Problem Statement :

Write a function that returns the sum of two numbers. Example For param1 = 1 and param2 = 2, the output should be solution(param1, param2) = 3.

Editorial :

This is the most easy problem off CodeSignal. You have to add two number which given as the parameter of the solution function and return the result.

Code :

int solution(int param1, int param2) { 
return param1 + param2; 
}