Thread: Shapes in c

  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    1

    Shapes in c

    Hello I'm new to coding in C. I have to create shapes in c with the constraints of only 3 printfs and 3n\t\ per shape. I cannot figure out of how create a diamond with those constraints. Any help would be appreciated

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,532
    Show us your best effort so far, with as many printfs as you need.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sin() and cos() to draw shapes
    By Lawson in forum C Programming
    Replies: 1
    Last Post: 01-29-2016, 12:41 AM
  2. Printing Shapes
    By cpsestudent in forum C Programming
    Replies: 7
    Last Post: 02-16-2011, 05:05 PM
  3. [C] drawing: drag GDI shapes
    By pc2-brazil in forum Windows Programming
    Replies: 3
    Last Post: 10-05-2008, 02:06 PM
  4. Counting shapes
    By Tupcia in forum C++ Programming
    Replies: 1
    Last Post: 09-27-2008, 09:03 PM
  5. Draw Shapes.
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 08-19-2002, 09:22 AM

Tags for this Thread