/* ** Goup members: ** Don Hummels ** ** Lab 1 Example program in C ** ECE 486, Spring 2008 ** ** add_10() Function which adds 10 to each value of an array. ** ** Function Prototype: ** ** void add_10 (double *ptr, int length); ** ** ** Inputs: ** double *ptr pointer to the input array ** int length Number of samples in the input array ** ** Outputs: ** - The input array values are modified by adding 10 to each value ** ** Returned: No value is returned. */ #include "add_10.h" void add_10 (double *ptr, int length) { int i; /* ** Add 10 to each value of the input array */ for ( i=0; i