Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by st10 at Wed Mar 24 14:20:45 PDT 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
Contract: greeting : string -> void
Purpose:
expects a name, and returns nothing, BUT it
has the side effect of printing a cheery greeting
to that name to the screen
Examples:
greeting("Sarah");
should cause the following to be printed to the screen:
Hi, Sarah, how are you doing?
--------------------------------------------------*/
void greeting(string name)
{
cout << "Hi, " << name
<< ", how are you doing?" << endl;
}