Write a program to print a message 10 times

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

printf("\n\nDisplaying a message 10 times:-");

while(i<=10)
{
printf("\n\nProud To Be Programmer");
i++;
}
getch();
}

Previous
Next Post »