Pattern4
      In this program we print the specified pattern *
* *
* * *
* * * *
/*
	http://www.ProbCOMP.com
	
	In this program we print the specified pattern
	*
	* *
	* * *
	* * *

*/

#include<stdio.h>

void main()
{
	int i,j,n=4;
	for(i=1;i<=n;i++) // this loop for the number of rows
	{
		for(j=1;j<=i;j++) //this loop for printing the pattern
		{
			printf("* ");
		}
		printf("\n");
	}
}									

Download Program
Did You Know ?
IP address is a numerical label that is assigned to devices participating in a computer network. Read More