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'
Type: Posts; User: Ada Lovelace
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'
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...