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:
    3
    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

  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