The do-while control structure is an exit-controlled loop structure. The do-while loop executes the body of the loop before its condition is tested, and ensures that the body always executes at least one time.
Kavungya answered the question on May 15, 2019 at 14:25