C Program to Print Hello World 10 timed using For Loop

C Program to Print Hello World 10 timed using For Loop

Write a Program to Print Hello World 10 times using For Loop

// C Program to Print Hello World 10 times using For Loop

#include <stdio.h>

int main()
{
	int i;

	for(i=0; i<10; i++)
	{
		printf("Hello World\n");
	}

	return 0;
}

Output:

Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World