How does this work if (size >= 150 //size <=50){step =-1; } } | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

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

6th Jan 2022, 10:26 AM
David .C.Tochukwu-uzukwu
2 Réponses
+ 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