Want to create interactive content? It’s easy in Genially!

Get started free

Nested loop

Bermet Mamatzhalilova

Created on November 18, 2024

Start designing with a free template

Discover more than 1500 professional designs like these:

Transcript

while(condition) { while(condition) { // statement of inside loop } // statement of outer loop }

syntax

for (starting point; condition; update) {for (starting point; condition; update){//code to execute}}

syntax

i j

00 01 02 03 04 -> ***** 10 11 12 13 14 -> * * 20 21 22 23 24 -> * * 30 31 32 33 34 -> * * 40 41 42 43 44 -> *****

syntax