Login to ask a question from Pattern Printing in C

C program to print following Pyramid:


        *

       * *

      * * *

     * * * *

    * * * * *

    * * * * *

     * * * *

      * * *

       * *

        *

#include

int main()
{
    int i,n,j;
    int space=4;
    printf("Enter number of rows:\n");
    fflush(stdout);
    scanf("%d",&n);
    for(i=1;i....
Show More
Previous Question Next Question
🔗

Similar Questions

From Pattern Printing in C · C programming

View All
WhatsApp