- 1
Can combine statement and loop?
whether they can combine and how
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.