0
Why 7 <= 8 returns true?
As 7 is smaller than 8 , i.e 7<8 agreed But 7 is not equal to 8, i.e 7 = 8 not true. Then why 7<=8 returns true?
25 Answers
+ 17
surbhi dighe See in a simple way
<= is called lessthan || equalsto
((7 < 8) || (7 == 8)) == (true || false) == true
+ 15
I have a nice idea:
How about we all write the same thing, over and over and over?
+ 10
😭😭😭😭😭
+ 6
😭
+ 6
😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭
(I'll unfollow now, so that I won't have to look at this misery again.)
+ 4
Because it's a fact.
+ 4
Don't cry HonFu 😂😂😂
+ 4
People he Already got so many Answer..
+ 3
Prasad Shinde Here is lessthan or equalsto. Don't confuse him. 😂😂
+ 3
It's not 7 is less than and equal to 8. It's 7 is less than or equal to 8.
+ 3
Coz...its 7 is less than OR equal to 8
+ 2
7<=8 has two meanings:
1. 7<8, which is true.
or
2. 7=8, which is false.
Only is required one option to be true.
+ 1
7 is less than OR equals to 8
Only one condition must be true.
Pure logic:
-Is seven less than or equal to eight?
-Yes, is less than.
- But is not equal.
- But is less than. So, yes, is less than OR equals to eight.
+ 1
Because 7 is smaller than 8, so it uses "or " . Means either greater than or equals to , as it finds one condition true so it returns true
+ 1
Because it's less than OR equal to not less than AND equal to
+ 1
7<=8 means 7 less than or equal to 8,which evaluates to true cuz 7<8
+ 1
One of the conditions is met
+ 1
Because here we say "less than "or" equal to" so on of them is true
+ 1
Because either of them needs to be true to make it true
+ 1
It checks any one condition ,first it checks whether 7 is smaller than 8 ,if it is true returns true; else it checks for another condition whether 7 Is equal to 8