Menu
Coddy logo textTech

Full Butterfly Pattern

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

challenge icon

Challenge

Easy

Write a program that prints a Full Butterfly pattern of stars as shown below.  The pattern consists of 10 rows and 10 columns.

Expected Output Pattern:

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

Try it yourself

#include <stdio.h>

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

All lessons in Star Pattern Bootcamp