akshitagit / akshitagit/JavaScript

Sum without '+'

Aperta
#2 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Beginner dailycode
Lingua principale
JavaScript
Stelle
90
Fork
106
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.