### A good answer might be:

Because a null word, 0x00000000, is a legitimate (and common) integer.

# Example Program: sum of an array

Sometimes programmers try to end an array with a pattern that they think will never occur in the data, like 0x10000000. This is an invitation for bugs. The pattern might truly never occur in correct data, but faulty data is common, and your program should deal with it gracefully.

The next example program uses an array of integer. The length of the array is given. The program calculates three sums:

- The sum of all integers.
- The sum of the positive integers.
- The sum of the negative integers.

You have probably seen this example before, done in Java or C.

### QUESTION 8:

Sketch out the flowchart for the program (or write it in pseudo code).