2 examples of nesting loops please?

AleMonteiro commented: google first! -2

Recommended Answers

All 2 Replies

I can think of three examples:

1) nested for loops
2) nested while loops
3) nested do-while loops

And they can all be nested multiple times, so have fun with them.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.