What are loop control structures? Explain for loop, while loop and do-while loop with their syntax
Answers
Answered by
1
while loop is executed once before the condition is checked. Its syntax is: do { // body of loop; } while (condition); ... If the condition evaluates to true , the body of the loop inside the do statement is executed again.
Similar questions
Physics,
6 months ago
Social Sciences,
6 months ago
Science,
6 months ago
Business Studies,
11 months ago
English,
1 year ago
Math,
1 year ago