Sunday, August 26, 2012

Blank Diamond

Assalamu Alaikum. Hope, you all are well by the grace of Almighty ALLAH. Today we learn how to draw a blank diamond by C programming. 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. Take a look.



Thank You all..

0 comments:

Post a Comment