JAVA Help Needed! Please help!

Discussion in 'Programming' started by WebDivx, Oct 15, 2009.

  1. #1
    (post error)
     
    Last edited: Oct 15, 2009
    WebDivx, Oct 15, 2009 IP
  2. personal-tips

    personal-tips Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    just code it on the fly not test for syntax:

    get the number n from input n

    for (int i=100; i-- ; i>100-n)
    {
    Sytem.out.println(i + " monkies jumping on the ball");
    Sytem.out.println(i + "monkies jumping");
    Sytem.out.println(If one of those monkies fall");
    Sytem.out.println("There are " + i-1 + "monkies jumping on a ball");
    }
     
    personal-tips, Oct 15, 2009 IP
    WebDivx likes this.
  3. WebDivx

    WebDivx Peon

    Messages:
    212
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3

    i got it 2 work! Thank you! You are the best!!!!!!!!!!!!!! you dunno how long i been trying to get this 2 work!! thanks again so much!
     
    WebDivx, Oct 15, 2009 IP
    personal-tips likes this.