+ 1

Can we have the source of calculator in java script with switch and case? If yes what's that?

12th Apr 2018, 5:53 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
24 Antworten
+ 5
Tap anywhere to hide cursor, that appears when you writing expression
12th Apr 2018, 7:30 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 4
Russia
12th Apr 2018, 7:30 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 4
I'm boy and I'm studying at school
12th Apr 2018, 7:33 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 4
16
12th Apr 2018, 7:34 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 4
You're welcome
12th Apr 2018, 7:42 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Do you mean writing simple calculator using switch?
12th Apr 2018, 6:08 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Do you wanna simple or not 😂 Just I have a hard version of that. https://code.sololearn.com/WdbkndtfBe70/?ref=app
12th Apr 2018, 6:30 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Which input creates error? My tries to compile were successful
12th Apr 2018, 6:38 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Dont enter '=' sign ;)
12th Apr 2018, 6:44 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Examples: 25/5 (17-3)*4+21 (3)+(((4*3)+2)-10)/2
12th Apr 2018, 6:51 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 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
12th Apr 2018, 7:17 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 3
Just unfocuse it
12th Apr 2018, 7:27 PM
Rull Deef 🐺
Rull Deef 🐺 - avatar
+ 1
it has error in line 1.
12th Apr 2018, 6:37 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
+ 1
I write those examples but the output doesn't show anything just ...
12th Apr 2018, 7:10 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
yes ...exactly
12th Apr 2018, 6:29 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
if in output I input (25/5=) it errors it has a syntaxerror in line 1
12th Apr 2018, 6:44 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
what should I do?
12th Apr 2018, 6:44 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
what should I enter?
12th Apr 2018, 6:50 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
I enterd the expression.how can I blur the textbox...I dont see any alert blocks.
12th Apr 2018, 7:27 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar
0
how can I unfocus it?
12th Apr 2018, 7:29 PM
Kimiya Nayyeri
Kimiya Nayyeri - avatar