Need Help On C programs

Discussion in 'C' started by asprajesh, May 14, 2007.

  1. asprajesh

    asprajesh New Member

    Joined:
    May 14, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello all i am very new in c erra so please help me out to make c pyramid programs..
    which is made by help of nesting for,while and do while loop..
    I need all programs code which based on my problem ..and let me introduse any links which give me c programe code on pyramid type out put programme..
    some example below..
    1) Make c programme for .. 1
    12
    123
    1234
    12345
    2)
    Make c programme for 1
    232
    3443
    45654
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Remember we are not here to write the code for you.
     
  3. asprajesh

    asprajesh New Member

    Joined:
    May 14, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Ok No issue give me useful links ...........Which help me out...
     
  4. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    Look at your requirements. Set the code up to output the first required line. Put it in a loop. Inside the loop put code that will modify the each line to the next. Construct the loop so that it exits at the appropriate time.

    Review what you have been taught concerning for and while constructs. If you have problems getting your attempt to work, then post the results of your genuine efforts for more help.
     
  5. saqib

    saqib New Member

    Joined:
    May 14, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    pakistan
    i want the coding of program which prints prime numbers in (simple coding)
     
  6. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    I charge a lot for that.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice