Nested Loop

//This example will demonstrate a nested loop
#include<stdio.h>
main()
{
	//outer loop
	for (unsigned int k = 0; k < 2; k++)
		//inner loop
		for (unsigned int j = 0 ; j< 3; j++)
			printf ("%2i***%2i\n",k,j);

	//outer loop
	for (unsigned int n = 3; n < 5; n++)
	{
		printf ("%2i**\n",n);
		//inner loop
		for (unsigned int m = 0; m < 5; m+=2)
		{
			printf("%2i**%2i**",m, n*m);
			printf("Hello\n");
		}
		printf("**\n");
	}

		return 0;

}
/*
 0*** 0
 0*** 1
 0*** 2
 1*** 0
 1*** 1
 1*** 2
 3**
 0** 0**Hello
 2** 6**Hello
 4**12**Hello
**
 4**
 0** 0**Hello
 2** 8**Hello
 4**16**Hello
**
*/