Pattern 21 : Hollow inverted right angle triangle star pattern using for loops

Write a C program to print below inverted triangle star pattern using for loops:

C Program to print the Hollow inverted triangle pattern using the loops.

Here is the sample output of the program when the input size is 5.

Sample output :

Enter Number : 5
* * * * * 
*     * 
*   * 
* * 
* 
Seems few browsers are not displaying the pattern properly, So here is the expected output in image format.
hollow-inverted-triangle-star-pattern-using-c

Note : This post is part of my series on Star Pattern programs in C language, Check out all program HERE.

Hollow inverted triangle pattern  Program :

Hollow inverted triangle pattern Program Output:

Hollow-inverted-triangle-pattern-right-angle-in-c
Output of hollow triangle

You may also like:

More C programs:

C Tutorials with simple Examples:

Venkatesh

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...

Leave a Reply