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 ответов
+ 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