What is the output of this code? <span>3&minus;2</span> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

What is the output of this code? <span>3&minus;2</span>

I am typing correct answer which is 3-2 but its showing wrong everytime in html challenge. Whats wrong???

22nd May 2017, 7:59 AM
Pravin Pandey
Pravin Pandey - avatar
17 Answers
+ 8
You posted: 3–2 He posted: 3-2 I posted: 3−2
22nd May 2017, 8:11 AM
Tim G
Tim G - avatar
+ 8
@Pravin There was another thread about this question where I explained it. But it got deleted. − this is the real minus symbol and it's the right answer to the question. The problem is that we don't have it on our keyboard. We usually use a hyphen to express the minus symbol and that's why we can't answer the quiz. Hyphen: - Minus: −
22nd May 2017, 8:41 AM
Tim G
Tim G - avatar
+ 8
well said @Tim we are using hyphen instead of minus sign which is not available in our keyboard.
22nd May 2017, 8:54 AM
Pravin Pandey
Pravin Pandey - avatar
+ 8
type n is ntwrkng
22nd May 2017, 12:34 PM
Pravin Pandey
Pravin Pandey - avatar
+ 7
3−2
22nd May 2017, 8:07 AM
Tim G
Tim G - avatar
+ 7
@Pravin To your question: This is the way I got the minus sign. https://code.sololearn.com/W71U3Qr92hMA/?ref=app
22nd May 2017, 9:00 AM
Tim G
Tim G - avatar
+ 6
Copy my answer below by clicking on the three dots and select "Copy text"
22nd May 2017, 8:05 AM
Tim G
Tim G - avatar
+ 6
Moderator should remove that question. Create a new one with supported keypad.
22nd May 2017, 8:32 AM
Pravin Pandey
Pravin Pandey - avatar
+ 6
@Tim G. I think frst one of yours is correct. How did u expand the minus sign?
22nd May 2017, 8:35 AM
Pravin Pandey
Pravin Pandey - avatar
+ 5
I think nt every keyboard support these signs. mine is samsung keyboard.
22nd May 2017, 8:40 AM
Pravin Pandey
Pravin Pandey - avatar
+ 5
Google keyboard. Android 4.4 Nvm. Yeah, I also think so. Didn't see it in the last hours.
22nd May 2017, 12:32 PM
Tim G
Tim G - avatar
+ 4
@Suryansh, yours is actually wrong.
22nd May 2017, 8:08 AM
Tim G
Tim G - avatar
+ 4
@Ivan Only shows: ñń
22nd May 2017, 12:25 PM
Tim G
Tim G - avatar
+ 3
Is it 3➖2 ???
22nd May 2017, 8:28 AM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 2
@ Tim G. What phone do u use? This is on HTC... I'm randomly challenging people, just to see whether the question will appear again, and no luck for now. Maybe they have deleted it.
22nd May 2017, 12:31 PM
Ivan
+ 2
@ Tim G. It's still there. Question just appeared against someone x xx, level 11. And it worked again. Answer, correct. Guys, if an option with the n letter on your keyboard is out of the queston, maybe try and install some other keybord from app store. But that's not a solution after all.
22nd May 2017, 12:44 PM
Ivan
+ 1
Hold the "n" letter on your keyboard... Something like this should appear, ňńñ—~ and the last, minus sign, - sign. Swipe to it, and that's it. That worked for me.
22nd May 2017, 11:35 AM
Ivan