Do-While Loop in C
Do-while loop in C is similar to while loop, it is also known as a condition-controlled loop. In the do-while loop, statements executed first, after that, the condition is tested. It means the block of the code is executed at least once, even when the condition is false. Do while loop must be terminated with…