#include<stdio.h>
void main()
{
int l,i,j;
printf("Enter number of lines");
scanf("%d",&l);
for(i=1;i<=l;i++)
{
for(j=1;j<=i;j++)
{
printf(" *");
}
printf("\n");
}
}
Tech Programming Ideas is one of the best places on the programming for programmers. Learn coding with Tech Programming Ideas tutorials. We are covered android programming, php, yii2 framework, javascript, mysql, vb.net etc.