Can you create a calculator with shortest code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Can you create a calculator with shortest code?

My friend challenged me. I created a very simple one. but now I'm trying to make it smarter and more features.

8th Jun 2017, 5:42 PM
Leesen Sim
Leesen Sim - avatar
1 ответ
+ 2
Is one line of code to short 😝? (Javascript) alert("Answer: "+eval(prompt("Enter Something to Calculate")));
8th Jun 2017, 5:48 PM
Rrestoring faith
Rrestoring faith - avatar