Why this loop ( i ) is running up to 10 | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
18th Jan 2018, 5:36 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar
2 Respostas
+ 6
it worked !!! but why t is going upto 7 only?? and not 12 šŸ¤”
18th Jan 2018, 6:27 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar
+ 4
No matters the first, the loop continue until the second condition become false. Try: t <= 12, i <= 5 - same as: i <= 5 && t <= 12
18th Jan 2018, 5:57 PM
Boris Batinkov
Boris Batinkov - avatar