Complete the function solveMeFirst to compute the sum of two integers.
Function prototype:
int solveMeFirst(int a, int b);
where,
- a is the first integer input.
- b is the second integer input
Return values
- sum of the above two integers
Sample Input
1 | a = 2 |
Sample Output
1 | 5 |
Explanation
The sum of the two integers a and b is computed as: 2 + 3 = 5.
Solution
1 | function solveMeFirst(a, b) { |