Wednesday, August 22, 2012

Pyramid Shape

Assalamu Alaikum. Hope, you all are well by the grace of Almighty ALLAH. Today we learn how to do a C programming code of a simple pyramid shape. Take a look at the problem.

Problem:

                    *
                   ***
                  *****
                 *******
                *********
     Write a C program to draw it.



Solution:


We can also do this program by the following way..




Thank You all..


0 comments:

Post a Comment