Is it possible that both section in if-else execute? In same condition. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Is it possible that both section in if-else execute? In same condition.

23rd Aug 2017, 7:24 PM
sachin gupta
sachin gupta - avatar
2 Respuestas
+ 1
Conflicting conditions. There are ways to access both, but not at the same time.
23rd Aug 2017, 7:28 PM
AgentSmith
0
By the way, it's worth mentioning that computers operate like this at their hardware level. There are literal switches that's regulating things, and IF-ELSE is one of those switches.
23rd Aug 2017, 7:51 PM
AgentSmith