Here is my array:
array = [100.0, 10.0, 250.0, 360.0]
The final number is the total and works well with what I want, however, what I'm really looking for is this:
array = [100.0, 110.0, 360.0]
In more words I want the starting value to stay the same and then each additional value to be the sum of the value before + the next value...
Any help would be awesome. I started writing a for statement, but I dont know how to raise the index for each statement? I think its something like i++?
Thank you