Please send questions to st10@humboldt.edu .

//--------------------------------------------------------------------------
// File: nameInLights.cpp
//
// Name: Sharon M. Tuttle
// last modified: 1-26-05 (fixed contract)
//
// Contract: nameInLights: string -> void
//
// Purpose: print the passed string so that it is emphasized, by printing
//          a line of asterisks before it and a line of asterisks after it.
//
// Examples: nameInLights("") should cause this to be printed to the screen:
//******************************
//
//******************************
//
//           nameInLights("Charlie Brown") should cause this to be printed
//           to the screen:
//******************************
//Charlie Brown
//******************************
//
//-----------------------------------------------------------------------

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

void nameInLights(string nm)
{
    cout << "******************************" << endl;
    cout << nm << endl;
    cout << "******************************" << endl;
}