Quote:
|
Does anyone here know any syntax in Java that will add a double(number type) to the next vacant slot in an array, after the user enters the number.
|
Do you mean assinging value to one of the slot in the array?
try using a loop and assigned number entered by the user into the particular slot in the array.