View Single Post
  #1 (permalink)  
Old 05-11-2008, 03:50 PM
Irfanerol's Avatar   
Irfanerol Irfanerol is offline
Newbie
 
Join Date: May 2008
Posts: 11
Credits: 2
Rep Power: 0
Irfanerol is on a distinguished road
Default Drawing diamond shaped pattern with C

Hello,
I'm new in C language, nowadays I'm just solving the basic problems of C. I couldn't find a way to solve this problem. Could someone show me a way to solve this problem? I don't want C code. Only a simple guide for solving.
Thanks for help.

-- The program will get the height of diamond from keyboard and it will print a diamond
according to this height. If entered value is 9 output will be
Code:
    *    
   * *
  *   *
 *     *
  *   *
   * *
    *

Last edited by Irfanerol; 05-11-2008 at 03:55 PM.
Reply With Quote

Sponsored Links