Can I test for a condition according to an another condition in the for loop, using conditional operator? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Can I test for a condition according to an another condition in the for loop, using conditional operator?

24th Dec 2017, 3:19 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
2 ответов
+ 1
No, I'm not asking for in the loop's body, but in the loop's condition test.
24th Dec 2017, 3:44 PM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
+ 1
You can link conditions i.e. with && and || or != not equal
24th Dec 2017, 4:29 PM
Timon Paßlick