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

26th Oct 2021, 6:49 AM
Le.7
5 Respuestas
+ 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,
26th Oct 2021, 6:58 AM
Ipang
+ 1
The code seems to be working. Is there anything you need help with? can you describe the task clearly?
26th Oct 2021, 9:32 AM
Ipang
0
I need with pointers
26th Oct 2021, 7:06 AM
Le.7
0
Wrong answer test 4
26th Oct 2021, 1:35 PM
Le.7
0
But Idk what a test
26th Oct 2021, 1:35 PM
Le.7