
This is a program of while loop in which we are going to print a statement 'n' times with the help of C Programming language.
#include <stdio.h>
int main(void)
{
int n;
int i = 1;
printf("Enter the number till will you want: ");
scanf("%d", &n);
while (i <= n)
{
printf("Hello World !\n");
i++;
}
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