Re: i cant think of a way to do that ?



If you don't want to limit the amount of coins then you should use
something like an ArrayList instead of an array.
.