Question : Loop types and description
Answered by : abid-mbudisor1clu
1. while loop – First checks the condition, then executes the body.
2. for loop – firstly initializes, then, condition check, execute body, update.
3. do-while – firstly, execute the body then condition check.
Source : | Last Update : Thu, 04 Aug 22