Login to ask a question from Pattern Printing in C

Inverted full pyramid using *

* * * * * * * * *

  * * * * * * *

    * * * * *

      * * *

        *

#include
int main() 
{
    int rows, i, j;
    printf("Enter number of rows: ");
    fflush(stdout);
    scanf("%d", &rows);
    for (i=rows; i>=1; --i)
     {
        for (j=0; j
Previous Question Next Question
🔗

Similar Questions

From Pattern Printing in C · C programming

View All
WhatsApp