Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Thread: Arrays

    by Norm
    Replies
    12
    Views
    855

    Re: Arrays

    The index to the Data array needs to change its value after each value is stored in the array. It should start at 0 and be incremented by 1 after each use.


    The value of the number entered by...
  2. Thread: Arrays

    by Norm
    Replies
    12
    Views
    855

    Re: Arrays

    After reading the value from the user, use an assignment statement to put the value into a slot in the array:

    theArray[theIndex] = theValue;
    The value of theIndex will need to be changed to...
  3. Thread: Arrays

    by Norm
    Replies
    12
    Views
    855

    Re: Arrays

    Look at using a loop to repeatedly ask the user to enter the next number
    Use the Scanner class's methods to read the user's input

    If you use an array to save the user's inputs in, be sure to...
Results 1 to 3 of 3