Can You Make a Calculator with JavaScript? | Sololearn: Learn to code for FREE!

+1

Can You Make a Calculator with JavaScript?

Here is a Fun Little Challenge! Using JavaScript make a Calculator where the User Presses Two Numbers And then Gives him the Outcome of the Solution! Example: 10 x 7 = 70 Best Code I will Make a Shout-out Promoting all the CODES ON HIS CHANNEL! THANK YOU!

1/18/2018 4:34:42 AM

AClue

3 Answers

New Answer

+4

https://code.sololearn.com/WuwzYd191Qsf/?ref=app Instead of using an eval function in JS, I tried making things more complicated hahahaha This challenge just made my day...

+5

https://code.sololearn.com/WIvexXpgpWUV/?ref=app

+1

alert(eval(prompt())); https://code.sololearn.com/WGqhN3qQz9nF/?ref=app