Hi I am encoding a system in which I need a function to get and remove the first element of an array. This array has numbers ie
0,1,2,3,4,5
how can I go through this array and each pass will get a value and then remove it from the array, so at the end of 5 rounds the array will be empty.
Thanks in advance
source share