1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to print this?

Discussion in 'C++' started by shashwat gupta, Aug 28, 2010.

  1. shashwat gupta

    shashwat gupta New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    want to print
    1 4
    2 3
    3 2
    4 1
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    Print first and last element from the needle and move the needle one element and that should do it for you
     

Share This Page