+ 10

what is result of 7-3+"9" ?

operator use but can't solved

13th Jan 2019, 6:43 AM
Rockstar
Rockstar - avatar
39 Respuestas
+ 32
because 7-3 will be 4 and 4+"9" will result in "49" NOT 13. If you want result 13 then you shound do- 7-3+Number("9")
13th Jan 2019, 9:05 AM
VEDANG
VEDANG - avatar
+ 18
7-3+=+4
12th Feb 2019, 11:48 AM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 16
the result will be : "49"
13th Jan 2019, 8:48 AM
VEDANG
VEDANG - avatar
+ 11
How 49?
13th Jan 2019, 8:58 AM
Rockstar
Rockstar - avatar
+ 8
Hi Rockstar, Additional to VEDANG's correct answer, U can use other operators that will work with string and number calculations. For example: "9" * 3 = 27 "9" / 3 = 3 "9" - 3 = 6
14th Jan 2019, 2:30 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 7
The browser will first evaluate 7-3. The expression is reduced to 4+"9". Adding strings with numbers treats the numbers as strings. Thus, the expression becomes "4"+"9"="49".
13th Jan 2019, 9:07 AM
giannismach
giannismach - avatar
+ 7
Didn’t look at the other post/answers... I think it’s: 7-3=4 4 + “9”= Résultat: 49
15th Jan 2019, 1:21 PM
👨🏻‍💻CyberRealm👨🏻‍💻
👨🏻‍💻CyberRealm👨🏻‍💻 - avatar
+ 6
49
13th Jan 2019, 9:52 AM
VINEET KUMAR
VINEET KUMAR - avatar
+ 6
Answer is 49 7 - 3 will be result in 4. And 4+"9"= 49 😀
14th Jan 2019, 3:27 AM
Vishnu
Vishnu - avatar
+ 5
Answer is 49
13th Jan 2019, 9:38 AM
Syed Muhammad Ali Raza
Syed Muhammad Ali Raza - avatar
+ 3
Thanks guys
13th Jan 2019, 9:33 AM
Rockstar
Rockstar - avatar
+ 3
49 Because 9 is not treated as an integer (within quotes)
13th Jan 2019, 6:39 PM
Deb
Deb - avatar
+ 3
49
14th Jan 2019, 7:33 AM
yingyuhang
+ 3
in js result is "49"
14th Jan 2019, 9:13 AM
mohammad
mohammad - avatar
+ 3
In python it will be error bcoz int and string we cannot add to add this we have to use the type conversion rule.
14th Jan 2019, 10:50 AM
Sanjit Samar
Sanjit Samar - avatar
+ 3
the answer is 49 because there is a quote sign
14th Jan 2019, 8:55 PM
Musa Iman yahaya
Musa Iman yahaya  - avatar
+ 3
Result is 49. Because 7-3 is 4 and you taken a string "9" to add with 4. If you want result 13 then you should change string "9" into a integer.
15th Jan 2019, 5:45 AM
mohit verma
mohit verma - avatar
+ 3
49
30th Jan 2019, 2:28 AM
GOBIKRISHNAN R
GOBIKRISHNAN R - avatar
+ 2
the result is:49
13th Jan 2019, 1:29 PM
Ňithish Anand
Ňithish Anand - avatar
+ 2
49
13th Jan 2019, 10:17 PM
Esolokka
Esolokka - avatar