Consider an array
a = [-4,58,9,,-91]
So I want to add these element in such way that my result will be
b= [-4 ,(58-4 = 54), (54+9=63),(63-91=-28) ] so my array result is [-4,54,63,-28].
Any solution?
Consider an array
a = [-4,58,9,,-91]
So I want to add these element in such way that my result will be
b= [-4 ,(58-4 = 54), (54+9=63),(63-91=-28) ] so my array result is [-4,54,63,-28].
Any solution?