• Source
    1. #include<stdio.h>
    2. int main()
    3. {
    4. int n,i,j;
    5. printf(" Please, Enter the Range or the No. of Rows : ");
    6. scanf("%d",&n);
    7. for(i=1;i<=n;i++)
    8. {
    9. for(j=1;j<=i;j++)
    10. printf("*");
    11. printf("\n");
    12. }
    13. return 0;
    14. }
    15.