Pattern 20 : Hollow Mirrored right angle triangle pattern program in C using loops

C program to print the following Hollow mirrored triangle star pattern :

Write a C Program to print Hollow mirrored triangle pattern program. The program going to take the number of rows as the input and print the pattern with that many rows. We will use the two for loops to print the program.

Here is the example input and output pattern

Enter Number : 5
        *         
      * *       
    *   *     
  *     *   
* * * * *

Few browsers are not showing patterns properly. So here is one screenshot of actual hollow mirrored right triangle.

Hollow mirrored triangle star pattern Program:

Hollow mirrored triangle star pattern Output:

We are using the GCC compiler in Ubuntu operating system.

Hollow-mirrored-triangle-star-pattern
Output 

You may also like:

More C programs:

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