Why we use = after < ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we use = after < ?

26th Jun 2017, 10:10 AM
Sam Sharma
Sam Sharma - avatar
2 Answers
+ 4
<= less than or equal to >= greater than or equal to
26th Jun 2017, 10:14 AM
jay
jay - avatar
+ 1
Not sure if I'm getting your question right... Think of how you'd read that conditional: You say X is lesser or equal to Y.(X<=Y) Or X is greater or equal to Y.(X>=Y). That may be why.
26th Jun 2017, 10:17 AM
Koyo Uzumaki
Koyo Uzumaki - avatar