Pattern 14 : C Program to print Irregular polyhedron star pattern

Spread the love

Write a C Program to print below Polyhedron Star Pattern using for loop:

The Polyhedron Star pattern program will take input size from the user, Depending upon the given size it will print the Output.

Here is an example, Where input size is 5.

Polyhedron Star Pattern-in-c

Example 2:

When Input size is 3.

Note:This is one theSeries of pattern programs in C.

Polyhedron Star Pattern Program:

Output:

Polyhedron-Star-Pattern-in-c-programming-language

Note : If you don’t want spaces in between two triangles just add one continue statement in the loop, Please Refer to the following post for more details. “Polyhedron without spaces“.

Related Programs :

More C programs:

C Tutorials with simple Examples:

Venkat

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

1 Response

  1. June 24, 2021

    […] Pattern 14: Polyhedron Star Pattern […]

Leave a Reply