Results 1 to 5 of 5
  1. #1
    rajivjoshi's Avatar
    rajivjoshi is offline Member
    Join Date
    May 2010
    Posts
    13
    Rep Power
    0

    Question needed code for this output

    plz help me out to build code for this output...

    1
    2 2
    3 3 3
    4 4 4 4
    5 5 5 5 5
    4 4 4 4
    3 3 3
    2 2
    1
    using for loop..
    Rajiv Joshi

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    Ehrm, it doesn't work this way. We're no do my homework service. Post your best attempt and ask specific questions. Also follow the link in my signature, please.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,728
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Fubarable View Post
    Agrees with PhHein: We encourage you to show some effort.
    I'm wondering: people always ask for an algorihm (or just boiler plate code) given some output but they never ask for input given some output ...

    kind regards,

    Jos ;-)

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Or at least why people really searching here and there before ask something. Jut think about that, how many times we've discuss quite similar things in the forum. My disappoint is that people always looking for the exact code, not the one which they can learn something new.

Similar Threads

  1. What will be output by the following code? using trim method.
    By racewithferrari in forum New To Java
    Replies: 4
    Last Post: 11-17-2009, 10:40 PM
  2. Replies: 0
    Last Post: 11-17-2009, 07:36 PM
  3. Need help formatting output and some code
    By A5i19 in forum New To Java
    Replies: 6
    Last Post: 11-09-2009, 05:58 AM
  4. Help with Array output Needed!
    By 2potatocakes in forum New To Java
    Replies: 2
    Last Post: 03-07-2009, 07:36 PM
  5. Hi code needed for JCA adaptor
    By lavanya82 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-04-2009, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •