+ 1

Booleans

Why is 7<= 8 True 7 is less than 8 but not equal to 8

12th May 2019, 8:51 AM
Hubert Richardo
6 Respuestas
+ 7
x <= y is true if x is less than or equal to y. If you think about it and x <= y meant that x has to be less than and at the same time equal to y, there would only be very few cases where x <= y were true
12th May 2019, 8:54 AM
Anna
Anna - avatar
+ 2
it's either of the option not both, in words it's like 7 is less than or equal to 8
12th May 2019, 8:53 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
Thanks guys
12th May 2019, 8:55 AM
Hubert Richardo
+ 2
X <= Y means if X is less or equal to Y!
12th May 2019, 10:48 AM
CodeFu
CodeFu - avatar
+ 1
Answer the question: Is 7 < OR (but not AND) = 8? Yes. So 'True'
6th Oct 2019, 8:01 AM
rez cebov
rez cebov - avatar
0
А по русски можно?
11th Nov 2019, 7:44 AM
Anonym
Anonym - avatar