The sum of the sequence
The sum of the sequence. Determine the sum of all elements in a sequence of non-negative integers, where the sequence ends with the number 0. Do not include the 0 in the sum. Test Case Input (Sequence) Expected Output 1 1 2 3 0 6 2 4 0 1 2 4 3 7 3 5 …