An Interest In:
Web News this Week
- March 23, 2024
- March 22, 2024
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
June 28, 2022 11:32 am GMT
Original Link: https://dev.to/nombrekeff/challenge-add-numbers-without--3mac
[Challenge] Add numbers without (-*/)
Time for another casual little challenge.
For this one there are only 2 rules:
- you must add numbers
a
andb
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 = 2b = 32add(a, b) => 34
Test:
add(a, b) == a + b
Have fun! Let's see what you come up with!
Original Link: https://dev.to/nombrekeff/challenge-add-numbers-without--3mac
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To