Topic: Array Problem / Level: beginner

Problem: Find the sum of elements in an array until a negative number is encountered.

Run the code to see the output here...