Changing values of an array in Java

后端 未结 0 1241
再見小時候
再見小時候 2021-01-03 06:34

I have an Array:

int[] arr = {-15, -23, -34, -22, 2};

I am trying to do an if statement, if values are below 0, then the array value changes

相关标签:
回答
  • 消灭零回复
提交回复
热议问题