I have one number which has a value of [200].
How to push new item to the existing array which will have a value subtracted 10 from previous item until it will reach close to 0 or 0?
I was thinking about while loop but not sure. Can anybody help to solve this please?