Javascript program to implement various mathematical operations. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Javascript program to implement various mathematical operations.

Input should be prompted for and confirmation should be asked before proceeding to next operation.

11th Jan 2020, 2:43 AM
Binto Alex
Binto Alex - avatar
3 Answers
+ 2
Your attempt ?
11th Jan 2020, 2:44 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
No, you shouldn't. When make some program which needs user input if you ask before user for every input. Or if you ask before every button clicks. User will definitely get angry.
11th Jan 2020, 8:34 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 1
For example you want square roots of lot of number. You get my code. But my code ask you before every button clicks for confirmation. It basically takes longer time. How you will feel about me. Think about it. https://code.sololearn.com/WdikORjw481q/?ref=app
11th Jan 2020, 8:39 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar