I'm trying to use 2 for loops to set each value of each element in the arraylist to zero. Problem is that I need a formula to set each index to be 0 through 9. This formula would be placed where it says "FORMULA" in the below code. My desired result would be a printed line of {0,0,0,0,0,0,0,0,0,0,} using the exact same code as below but with "FORMULA" being replaced with an appropriate formula to set the correct index through each loop. Let me know if you need further a explanation.I'm trying to use 2 for loops to set each value