- 3

Why 2!=3?

Why 2 != 3 ?

1st Feb 2020, 7:47 PM
lololohadad
3 ответов
+ 2
Because in maths it is agreed that if x = y is true, then x and y are the same value. If x and y are the same value then where ever you use x, you should be able to use y and where ever you use y, you should be able to use x, to get the same result. x ≠ y is a negation of x = y, which means: when x = y is true, then x ≠ y is false and: when x = y is false, then x ≠ y is true In programming we use != instead of ≠, maybe because ≠ is not supported by ASCII. (Also in programming we use == instead of =, because = is reserved for assigning variables.) 2 != 3 is true, because 2 == 3 is false. 2 == 3 is false because 2 and 3 are not the same value.
1st Feb 2020, 8:16 PM
Seb TheS
Seb TheS - avatar
+ 1
2 not equal to 3. How difficult is that to understand. Do not spam. Read the community guidelines before posting any question in the Q&A section. https://www.sololearn.com/discuss/1316935/?ref=app
1st Feb 2020, 7:50 PM
Avinesh
Avinesh - avatar
+ 1
The summary of the question is ambiguous. It could read 2! = 3, which is true. Of course, the 'description' doesn't confirm that. Disregarding this; The only tag we have, here, is 'math', not any kind of programming language. 2- factorial equals 3. I think OP is just trying to troll us and she already knew the right answer.
1st Feb 2020, 9:23 PM
thymaro
thymaro - avatar