what is the function of the inner loop and the outer loop? like, what does inner loop print and what does outer loop print?
Answers
Answered by
1
Answer:
The inner loop is nested inside the outer loop. Nested loops are useful when for each pass through the outer loop, you need to repeat some action on the data in the outer loop. For example, you read a file line by line and for each line you must count how many times the word “the” is found.
Explanation:
please mark me as brainliest and follow me
Similar questions