akshitagit / akshitagit/JavaScript

Sum without '+'

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Beginner dailycode
Dominant language
JavaScript
Stars
90
Forks
106
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.