Professional Documents
Culture Documents
Oop Slides Ch05
Oop Slides Ch05
Oop Slides Ch05
Object-Oriented Programming
with C++
• There are various other syntaxes of for loop which we will see
in a short while.
University of Juba – School of Computer Science and Information Technology
Object-Oriented Programming with C++
Chapter 5: Iteration Control
The For Loop Example
• For each iteration of first for loop (outer for loop) the inner for loop runs as it is part of the
body of outer for loop.
• The inner for loop has its own set of statements which executes till the condition for inner
for loop is true.
Chapter 6
Arrays and Strings
0923659012
University of Juba – School of Computer Science and Information Technology