what is formula of nested loop?
please tell me
Jump to Post
Nesting a loop inside another loop is very common.
Suppose you have a matrix of integers.
Suppose the matrix has 3 rows and 4 integers in each row ...
Now if you wanted to print out that matrix, a common C, simple way, would be to code like this:
All 11 Replies
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.