0
The sum between first two zeros
Find the sum of the elements that are located between first two zeros. The program have to use pointer https://code.sololearn.com/cWcQMK3bwzLV/?ref=app
5 Réponses
+ 2
You can mark index of the first and the next zero while assigning values from inputs. This way you wouldn't need another loop to find the indices of value zero.
Not sure why you need pointers for this though,
+ 1
The code seems to be working. Is there anything you need help with? can you describe the task clearly?
0
I need with pointers
0
Wrong answer test 4
0
But Idk what a test