Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    Johnny2009 is offline Member
    Join Date
    Nov 2011
    Posts
    22
    Rep Power
    0

    Default Re: how to add more balls via user input

    ok.. one more thing, hopefully when i get this to work with default numbers.. how do i get the value entered into numBalls to my loop

  2. #22
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,585
    Rep Power
    12

    Default Re: how to add more balls via user input

    Have you looked at any for loops working with arrays? What values and variables do they typically use? (Post a simple example if you're unsure.)

  3. #23
    Johnny2009 is offline Member
    Join Date
    Nov 2011
    Posts
    22
    Rep Power
    0

    Default Re: how to add more balls via user input

    ugh. I give up.. im too frustrated with this.. i've been on the same part for 3 days now.. and its due in 2 hours.. Thanks for your help though

Page 2 of 2 FirstFirst 12

Similar Threads

  1. User Input???
    By jonytek in forum New To Java
    Replies: 8
    Last Post: 01-13-2013, 03:52 PM
  2. Help with user input
    By sconniegorilla in forum New To Java
    Replies: 2
    Last Post: 02-16-2011, 03:00 PM
  3. Need help getting input(first/last name) from user
    By nightrise420 in forum New To Java
    Replies: 11
    Last Post: 09-11-2010, 04:09 AM
  4. User Input
    By brmcdani in forum New To Java
    Replies: 2
    Last Post: 02-05-2010, 02:59 AM
  5. cant take input from user
    By new_1 in forum New To Java
    Replies: 6
    Last Post: 12-25-2007, 08:38 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
  •