How to make scientific calculator using JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make scientific calculator using JavaScript

It must have trigonometric as well as inverse trigonometric function It should have feature of storing last 10 input so that user can see and able to correct it.

18th Dec 2018, 7:41 AM
Saurabh Joshi
Saurabh Joshi - avatar
1 Answer
+ 1
This will help a lot https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math For the input history, you can create an array. Then push() the input, if the size is more than 10 execute shift()
18th Dec 2018, 7:50 AM
Taste
Taste - avatar