¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
Can I test for a condition according to an another condition in the for loop, using conditional operator?
2 Respuestas
+ 1
No, I'm not asking for in the loop's body, but in the loop's condition test.
+ 1
You can link conditions i.e. with
&& and
|| or
!= not equal