+ 1

I don't understand the grrater than or equal to and smaller than or equals to

>= <=

4th Dec 2021, 5:47 PM
Olatunji Emmanuel
Olatunji Emmanuel - avatar
2 Answers
+ 1
A<B means loop Continues till A Reaches to B-1 and then do it for one more time and terminates the loop A<=B Continues till A reaches to B And then do it for one more time And terminates the loop In A<B Loop Breaks When A == B in A<=B Loop Breaks When A == B+1 Example in cpp A=0 , B=3 While(A<B) A++; Goes like this: A=0 -> checks:A<B:True -> A=1 -> checks:A<B:True -> A=2 -> checks:A<B:True -> A=3 -> checks:A<B:False -> terminates I Hope this Works Ya Ali _____________________ for more info just ask
6th Dec 2021, 11:35 AM
ā€ŽŁ…ŪŒŁ… Ų“ŪŒŁ†ā€Ž
0
Olatunji Emmanuel Your question doesn't make sensešŸ˜•. I mean, there's nothing to be confusedšŸ˜µ about. Everything is just in the meaning of the operator.
4th Dec 2021, 5:54 PM
(ā˜ž ą² _ą² )ā˜ž.ĻrĪ‘Ļ„Ī—Ī±Īœ.
(ā˜ž ą² _ą² )ā˜ž.ĻrĪ‘Ļ„Ī—Ī±Īœ. - avatar