Write a program to print hello 10 times

//this is a program to print hello 10 times
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;

printf("\n\nDisplaying Hello 10 times");

while(i<=10)
{
printf("\n\nHello");
i++;
}
getch();
}

Previous
Next Post »