Search:

Type: Posts; User: Ada Lovelace

Search: Search took 0.09 seconds.

  1. Replies
    24
    Views
    1,281

    [SOLVED] Re: Not sure where my problem is

    Array definition in Java is:



    Then you create an array object


    Where size is the total allocated space for the array. Remember unlike C, Java
    does not use the null termination '/0'
  2. Replies
    24
    Views
    1,281

    [SOLVED] Re: Not sure where my problem is

    Seems like a rather simple algorithm would work here:

    *declare an integer array with enough allocated space to hold the input
    *read input into the array using a for loop - test after each input...
Results 1 to 2 of 2