JavaScript icon indicating copy to clipboard operation
JavaScript copied to clipboard

Sum without '+'

Open akshitagupta15june opened this issue 5 years ago • 2 comments

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and - Input Format

Input two integers a and b Constraints

Use of "+" and "-" operators are not allowed Output Format

Print the sum of a and b Sample Input

2 -1

Sample Output

1

Explanation

Sum of 2 and -1 is 1

akshitagupta15june avatar Sep 25 '20 03:09 akshitagupta15june

Add in DailyCode repository of javascript.

akshitagupta15june avatar Sep 25 '20 03:09 akshitagupta15june

can you assign me this issue?

yuvraajnarula avatar Oct 02 '20 11:10 yuvraajnarula