Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,147

    Re: Help with java array prgm

    If you use a sentinel and can have less than 10 entries, you'll want to have a variable that keeps track of the number of entries in the array. You could use it in the printarray method to only...
  2. Replies
    7
    Views
    1,147

    Re: Help with java array prgm

    I've been programming for a long time. I started Java in 1998.
  3. Replies
    7
    Views
    1,147

    Re: Help with java array prgm

    Java SE has a class named Arrays. To avoid confusion, you should not use the same name as a java SE class.

    You only need to define ONE instance of the Scanner class. There is only one...
  4. Replies
    7
    Views
    1,147

    Re: Help with java array prgm

    Use the System.out.println() method to print a message to the user.
    The Scanner class has several method for reading the user's response.
Results 1 to 4 of 4