Please send questions to st10@humboldt.edu .
/*-----
  Signature: main: void -> int

  Purpose: testing program for the function sum_array
  
  Examples: when this program is run,
sum_array returns: 100
...should be written to the screen

  by: Sharon Tuttle 
  last modified: 11-09-10
-----*/

#include <iostream>
#include <string>
#include "sum_array.h"
using namespace std;

int main()
{
    const int NUM_VALS = 4;
    double vals[NUM_VALS] = {10, 20, 30, 40};

    cout << "sum_array returns: "
         << sum_array(vals, NUM_VALS) << endl;

    return EXIT_SUCCESS;
}