C Program to print the asterisk graph
#include<stdio .h="">
#include<conio .h="">
void main()
{
int i,j,rows;
clrscr();
printf("\n Enter No of Rows:");
scanf("%d",&rows);
printf("\n");
for(i=1;i<=rows;i++)
{
for(j=1;j<=i;j++)
{
printf(" *");
}
printf("\n");
}
getch();
}
*************OUTPUT***************
Enter No of Rows: 4
*
* *
* * *
* * * *</conio></stdio>