C++

Discussion in 'C++' started by kelvindata, Sep 30, 2010.

  1. kelvindata

    kelvindata New Member

    Joined:
    Sep 30, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hello can you make and run a program that will display the numbers 1,2,3, and so on depending on the number of lines the user will enter.

    example output: enter a number=3
    1
    23
    456


    thanks for the help..
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    It is not very tough and have you tried anything. Just loop inside a loop will do it for you
     
  3. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    19
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    http://www.techgeek.in
    Shabbir itz hard to blve but people are really becoming careless...they are not liking codings and all and put all their work on the shoulders of others...
     

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