/*------- Signature: main: void -> int Purpose: to play a bit with the function greet Examples: when this is run, the following should be printed to the screen: playing with function greet: ---------------------------- about to greet Hannah at 3: Good morning, Hannah! about to greet Tim at 11: Good morning, Tim! by: Sharon Tuttle last modified: 2016-10-26 --------*/ #include <cstdlib> #include <iostream> #include <string> #include <cmath> #include "greet.h" using namespace std; int main() { cout << boolalpha; cout << "playing with function greet:" << endl; cout << "----------------------------" << endl; cout << "about to greet Hannah at 3: " << greet("Hannah", 3) << endl; cout << "about to greet Tim at 11: " << greet("Tim", 11) << endl; return EXIT_SUCCESS; }