Array: C
Problem: Given an array of int, calculate the sum of:
all the elements in the array
all the positive elements in the array
all the negative elements in the array