SOURCE FILE: welcome.cpp
//******************************************************************
// Welcome program
// This program prints a "Welcome Home" message
//******************************************************************
#include <iostream>
using namespace std;
void Print2Lines(); // Function prototypes
void Print4Lines();
int main()
{
Print2Lines(); // Function call
cout << " Welcome Home!" << endl;
Print4Lines(); // Function call
return 0;
}
//******************************************************************
void Print2Lines() // Function heading
// This function prints two lines of asterisks
{
cout << "***************" << endl;
cout << "***************" << endl;
}
//******************************************************************
void Print4Lines() // Function heading
// This function prints four lines of asterisks
{
cout << "***************" << endl;
cout << "***************" << endl;
cout << "***************" << endl;
cout << "***************" << endl;
}