+ 1
Can we have the source of calculator in java script with switch and case? If yes what's that?
24 Answers
+ 5
Tap anywhere to hide cursor, that appears when you writing expression
+ 4
Russia
+ 4
I'm boy and I'm studying at school
+ 4
16
+ 4
You're welcome
+ 3
Do you mean writing simple calculator using switch?
+ 3
Do you wanna simple or not š Just I have a hard version of that.
https://code.sololearn.com/WdbkndtfBe70/?ref=app
+ 3
Which input creates error? My tries to compile were successful
+ 3
Dont enter '=' sign ;)
+ 3
Examples:
25/5
(17-3)*4+21
(3)+(((4*3)+2)-10)/2
+ 3
It work so: you enter expression, then blur textbox. You will see some alert blocks that show you process and at the end you will see answer
+ 3
Just unfocuse it
+ 1
it has error in line 1.
+ 1
I write those examples but the output doesn't show anything just ...
0
yes ...exactly
0
if in output I input (25/5=) it errors it has a syntaxerror in line 1
0
what should I do?
0
what should I enter?
0
I enterd the expression.how can I blur the textbox...I dont see any alert blocks.
0
how can I unfocus it?