akshitagit / JavaScript

Repository for JavaScript codes and algos.Star the repo too.
https://github.com/akshitagupta15june
MIT License
86 stars 112 forks source link

Sum without '+' #2

Open akshitagupta15june opened 4 years ago

akshitagupta15june commented 4 years ago

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 commented 4 years ago

Add in DailyCode repository of javascript.

yuvraajnarula commented 4 years ago

can you assign me this issue?