// This program will allow the user to input from the keyboard
// whether the last word to the following proverb should be party or country:
// "Now is the time for all good men to come to the aid of their _______"
// Inputting a 1 will use the word party. Any other number will use the word country.


#include <iostream>
#include <string>
using namespace std;





// Fill in the prototype of the function writeProverb.
void writeProverb(string word);

int main ()
{
	
	string wordCode;

	cout << "Given the phrase:" << endl;
	cout << "Now is the time for all good men to come to the aid of their ___" << endl;
	cout << "Please input the word you would like to have finish the proverb" << endl;
	cin  >> wordCode;
	writeProverb(wordCode);
	return 0;
}


void writeProverb (string word)
{
	cout << "Now is the time for all good men to come to the aid of their " << word << "." << endl;
}




