Computer Applications
Write down the construct (syntax) of Nested do-while loop:
Java Nested for Loops
31 Likes
Answer
do {
//statements of outer do-while loop
..
..
do {
//statements of inner do-while loop
} while (<condition>);
..
..
} while (<condition>);
Answered By
20 Likes
Related Questions
What action will you take to terminate an outer loop from the block of an inner loop?
What is significance of 'break outer' and 'continue outer' in a nested loop?
Write down the construct (syntax) of Nested while loop
Write a program in Java to find the sum of the following series:
S = 1 + (3/2!) + (5/3!) + (7/4!) + ……. to n