[CHALLENGE] Easy calculation :) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

[CHALLENGE] Easy calculation :)

Let's do the calculations with functions! function zero() {} function one() {} function two() {} .... function nine(){} function plus() {} function minus() {} function multiply() {} function devidedBy() {} Tests: one(plus(two))) // Output is 3 seven(multiply(five())) // Output is 35

7th Dec 2017, 4:50 PM
Berli 🇮🇩
Berli 🇮🇩 - avatar
2 Answers
+ 7
Looks like me and gordie had the same idea! https://code.sololearn.com/Wal9xUH6rydq/?ref=app
7th Dec 2017, 8:11 PM
Schindlabua
Schindlabua - avatar
+ 4
Here's my "lamey" submission for the challenge : ) https://code.sololearn.com/cxx7eENcD633/?ref=app
7th Dec 2017, 11:51 PM
Ipang