[Challenge] Add numbers without (+-*/)

Time for another casual little challenge.

For this one there are only 2 rules:

you must add numbers a and b together
you must NOT use the +-*/ operators

Apart from that there are no more rules, and can be done with any language you want!

Pseudoc…


This content originally appeared on DEV Community and was authored by Keff

Time for another casual little challenge.

For this one there are only 2 rules:

  • you must add numbers a and b together
  • you must NOT use the +-*/ operators

Apart from that there are no more rules, and can be done with any language you want!

Pseudocode:

a = 2
b = 32

add(a, b) => 34

Test:

add(a, b) == a + b

Have fun! Let's see what you come up with!


This content originally appeared on DEV Community and was authored by Keff


Print Share Comment Cite Upload Translate Updates
APA

Keff | Sciencx (2022-06-28T11:32:05+00:00) [Challenge] Add numbers without (+-*/). Retrieved from https://www.scien.cx/2022/06/28/challenge-add-numbers-without/

MLA
" » [Challenge] Add numbers without (+-*/)." Keff | Sciencx - Tuesday June 28, 2022, https://www.scien.cx/2022/06/28/challenge-add-numbers-without/
HARVARD
Keff | Sciencx Tuesday June 28, 2022 » [Challenge] Add numbers without (+-*/)., viewed ,<https://www.scien.cx/2022/06/28/challenge-add-numbers-without/>
VANCOUVER
Keff | Sciencx - » [Challenge] Add numbers without (+-*/). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/06/28/challenge-add-numbers-without/
CHICAGO
" » [Challenge] Add numbers without (+-*/)." Keff | Sciencx - Accessed . https://www.scien.cx/2022/06/28/challenge-add-numbers-without/
IEEE
" » [Challenge] Add numbers without (+-*/)." Keff | Sciencx [Online]. Available: https://www.scien.cx/2022/06/28/challenge-add-numbers-without/. [Accessed: ]
rf:citation
» [Challenge] Add numbers without (+-*/) | Keff | Sciencx | https://www.scien.cx/2022/06/28/challenge-add-numbers-without/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.