#include #include using namespace std; // file: announce.cpp // using multiple parameters in a function // generate a wedding announcement void announce(string parents, string bride, string groom) { cout << parents << endl << "wish to annnounce " << "the marriage " << "of their daughter " << endl << bride << " to "; cout << endl << groom << "." << endl ; } int main() { announce("Mr. Ralph James and Dr. Cynthia Owen James", "Peggy Sue", "Billy Bubba Randolphson"); cout << endl << endl; announce("Mr. and Mrs. John Smythe", "Richard Green", "Cynthia"); return 0; } /* Sample output: prompt> announce Mr. Ralph James and Dr. Cynthia Owen James wish to annnounce the marriage of their daughter Peggy Sue to Billy Bubba Randolphson. Mr. and Mrs. John Smythe wish to annnounce the marriage of their daughter Richard Green to Cynthia. */