How to set Int Array size at run time after every loop iteration

  • Thread starter Thread starter Learner177
  • Start date Start date
L

Learner177

Guest
i have this problem and i can't make logic to change array size at run time after every iteration i need to increase the size of the 2nd array

this is the thing i want to do i have an array 1{1,5,0,1,7,4,10,3,9,16}now i want to remove all the values greater then 7 and store only numbers less then equal to 7 in a new array.i can seem to figure it.

i think only possible solution is to convert it to string first?

Continue reading...
 
Back
Top