Thread: making pattern-99 noob

  1. #1
    Registered User
    Join Date
    Apr 2012

    making pattern-99 noob

    how can I make this pattern?(stupid question! but Ive been trying with nested loops but cant think of any)

    999999 999999
    99 99 99 99
    999999 999999
    99 99
    999999 999999

  2. #2
    Registered User
    Join Date
    Apr 2012


    I guess the forum doesn't like those spaces.
    heres the pattern.


    (space instead of dot)

    and can't I delete my posts after being published?

  3. #3
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    London, United Kingdom
    Just printf it. There is no pattern worth an algorithm in there.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making a pattern using void()
    By stevedawg85 in forum C++ Programming
    Replies: 15
    Last Post: 03-05-2006, 09:58 AM
  2. c++ noob making a game
    By Supernova in forum Game Programming
    Replies: 24
    Last Post: 12-01-2003, 10:05 PM
  3. (pattern *) pat & pattern * pat
    By siubo in forum C Programming
    Replies: 1
    Last Post: 04-08-2003, 10:03 PM
  4. Replies: 2
    Last Post: 01-13-2003, 12:28 PM
  5. pattern
    By Unregistered in forum C Programming
    Replies: 16
    Last Post: 05-04-2002, 07:37 PM

Tags for this Thread

Website Security Test