How does this work if (size >= 150 //size <=50){step =-1; } } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How does this work if (size >= 150 //size <=50){step =-1; } }

6th Jan 2022, 10:26 AM
David .C.Tochukwu-uzukwu
2 Answers
+ 5
Are you sure it's // and not || inside the condition?
6th Jan 2022, 10:41 AM
Ipang
+ 1
Sorry it's || #my bad
6th Jan 2022, 11:48 AM
David .C.Tochukwu-uzukwu