Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by smtuttle at Tue Nov 9 08:41:43 PST 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
signature: greeting : string -> void
purpose: expects a name, and produces nothing, but has the side-effect
of printing a cheery greeting to the screen using that name
Examples: greeting("Sarah")
...will return nothing, but will cause to be printed to the screen:
Hi, Sarah!
--------------------------------------------------*/
void greeting(string name)
{
cout << "Hi, " << name << "!" << endl;
}