do while loop in C
Categories: C language
The do while loop is a post tested loop. Using the do-while loop, we can repeat the execution of several parts of the statements. The do-while loop is mainly used in the case where we need to execute the loop at least once. The do-while loop is mostly used in menu-driven programs where the termination condition depends upon the end user.
Program to print table for the given number using do while loop
printf("Enter a number: ");
Enter a number: 5