SOURCE FILE: newwelco.cpp


//******************************************************************
// NewWelcome program
// This program prints a "Welcome Home" message
//******************************************************************
#include <iostream>

using namespace std;

void PrintLines( int );			    // Function prototype

int main()
{
    PrintLines(2);
    cout << " Welcome Home!" << endl;
    PrintLines(4);
    return 0;
}

//******************************************************************

void PrintLines( int numLines )

// This function prints lines of asterisks, where
// numLines specifies how many lines to print

{
    int count;	    // Loop control variable

    count = 1;
    while (count <= numLines)
    {
	cout << "***************" << endl;
	count++;
    }
}