Please send questions to st10@humboldt.edu .
/*--------------------------------------------------
created by st10 at Fri Oct 15 09:49:20 PDT 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;


/*--------------------------------------------------
 signature: name_length : string string -> int
 purpose: expects a first and last name, and produces the length
         of the whole name (how many characters are in both parts)

 Examples: name_length("Joe", "Smith") == 8
--------------------------------------------------*/

int name_length(string first_name, string last_name)
{
    return first_name.length() + last_name.length();
}