Menu
Coddy logo textTech

Inverted Pyramid

Lesson 12 of 30 in Coddy's Star Pattern Bootcamp course.

challenge icon

Challenge

Easy

Write a program that prints a Inverted Pyramid Pattern of stars as shown below.  The pattern consists of 6 rows and 11 columns.

Output Pattern:

 * * * * * * * * * * * 
   * * * * * * * * * 
     * * * * * * * 
       * * * * * 
         * * * 
           * 

Try it yourself

#include <stdio.h>

int main() {
    // Write code here
    return 0;
};

All lessons in Star Pattern Bootcamp