- 1

Can combine statement and loop?

whether they can combine and how

9th Jan 2017, 10:14 AM
LavaLias
1 Answer
+ 2
What do you mean by "combine statement AND loop"? There is "loop statement", as well as "if statement" or "while statement", and so on... You can combine all of them in the measure of you never must have overlapping block of codes ( delimited by brackets { } ), means that a paired brackets must open and close at the same scope level.
9th Jan 2017, 10:20 AM
visph
visph - avatar