Homework 7 Information, ECS50 Spring 1998

Assignment:

Write a subroutine capable of calculating the sum or difference of two long integer arrays. The results should be stored in a third array. A different subroutine should print out the result array. (For those of you that care, this is what Vector Processors like the CRAY do for a living.)

The requirements are:

Assumptions

Extra Credit

Examples

If	arrayA = 1,34,5 
and	arrayB = 2,0 
then	arrayR = 3,34,5 (arrayA + arrayB)