I have the following array:
array[0,2,0,0];
I need to create a function that adds only the indexes with values greater than or equal to two, how should I proceed?
In this example I should return 2;
array [0,2,0,0];
In thi...
asked on
01.11.2016 / 18:37