In this, we are going to see the do-while loop, the program is based on do-while loop which basically Prints a statement 'n' times with the help of the C Programming language.Â
#include <stdio.h>
int main()
{
int n;
printf("Enter value of n to repeat printing that n times: ");
scanf("%d", &n);
do
{
printf("Help For Coders\n");
n--;
} while (n > 0);
return 0;
}
//..........Coded by ARADHANA MISHRA
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP