Results 1 to 3 of 3
  1. #1
    Smalnati is offline Member
    Join Date
    Sep 2013
    Posts
    1
    Rep Power
    0

    Default Need help with for loops and arrays. New to Java!

    Hey guys, so I'm really new to all of this stuff and I really want to learn, however, my professor is from China and barely speaks English. There are a few practice problems that she's given us so that we can prepare for the actual assignments later this week. The only problem is that all of us students have no idea what she says, so we're kind of left on our own. I really want to understand how to do this, so any help would be hugely appreciated. These are the final outputs of what we need to code:

    Need help with for loops and arrays. New to Java!-screen-shot-2013-09-29-10.25.44-am.png
    Need help with for loops and arrays. New to Java!-screen-shot-2013-09-29-10.25.50-am.png
    Need help with for loops and arrays. New to Java!-screen-shot-2013-09-29-10.25.56-am.png

    And this is what I have so far (probably way off!):

    Need help with for loops and arrays. New to Java!-screen-shot-2013-09-29-10.31.46-am.png

    Also this:

    Need help with for loops and arrays. New to Java!-screen-shot-2013-09-29-10.33.08-am.png

    Again, any help at all would be awesome. Thanks in advance!

  2. #2
    AndrewM16921 is offline Senior Member
    Join Date
    Jan 2009
    Location
    NJ, USA
    Posts
    261
    Rep Power
    6

    Default Re: Need help with for loops and arrays. New to Java!

    There are a lot of resources for Java online. For arrays, I suggest reading some stuff here:
    Arrays (The Java™ Tutorials > Learning the Java Language > Language Basics)

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,082
    Rep Power
    4

    Default Re: Need help with for loops and arrays. New to Java!

    Broken record: or get a good book to use as a reference and a guide. Online resources are often aimed at people who already have some experience, books tend to be written to give you a complete picture.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Loops and arrays
    By Katniss in forum New To Java
    Replies: 1
    Last Post: 10-19-2012, 05:21 PM
  2. Arrays and for-loops??
    By esined93 in forum New To Java
    Replies: 2
    Last Post: 10-17-2012, 03:24 PM
  3. Java Arrays & Loops
    By AdamG in forum New To Java
    Replies: 2
    Last Post: 10-14-2011, 05:14 PM
  4. Urgent! Java Assignment with loops in Arrays
    By Xeher in forum New To Java
    Replies: 4
    Last Post: 11-28-2010, 12:49 AM
  5. How to use arrays and loops?
    By asadzarrar in forum New To Java
    Replies: 1
    Last Post: 10-31-2010, 11:04 PM

Posting Permissions

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