Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How tp printing array elements vertically through loop.

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How tp printing array elements vertically through loop.

    Hi, please i am a beginner and wondering how i would print array elements vertically
    if possible through looping or without looping.

    Another question would be an explanation of the line of code that made it appear vertically. say in the format used below.

    I do not know how to do it and would welcome anybody who can explain to me in detail how to do it.

    Example:
    int theArray[]={78,266,178,478,278,578,748,718,788,586,68};


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: How tp printing array elements vertically through loop.

    Hi and welcome bikes_28
    Please read: This Forum is for Saying Hi, not for Asking Technical Questions (READ BEFORE POSTING)
    1) We don't write code or do homework
    2) We don't know exactly how much you can do or where you are stuck.

    So post what you can do to save time in explaining what you do know.


    Thread moved from member introductions.

Similar Threads

  1. How to sum up elements in an array?
    By D-X69 in forum Java Theory & Questions
    Replies: 2
    Last Post: May 28th, 2012, 01:21 AM
  2. Missing elements in array
    By frozen java in forum What's Wrong With My Code?
    Replies: 6
    Last Post: February 10th, 2012, 11:52 PM
  3. Replies: 1
    Last Post: September 28th, 2011, 07:29 AM
  4. Adding array elements inside a loop
    By Scotty in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 28th, 2010, 09:48 PM
  5. [SOLVED] Printing Array without printing empty elements
    By CarlMartin10 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 12th, 2010, 02:41 AM