#include #include "CPstring.h" void Million(string fname, string lname) { cout << fname << " " << lname; cout << ", you've won TEN million dollars!" << endl; } void Ticket(string first) { cout << first << ", that's what you will hear if you" << endl; cout << "have the winning ticket. " << endl; } void Porsche(string fname, string hometown) { cout << "Imagine, " << fname << ", you could be cruising in a" << endl; cout << "Porsche down Main Street in " << hometown << "." << endl; } void Sweeps(string first, string last, string city) { Million(first, last); Ticket(first); Porsche(first, city); } int main() { string firstName; string lastName; string town; cout << "Enter first and last name: "; cin >> firstName >> lastName; cout << "Enter name of hometown: "; cin >> town; Sweeps(firstName, lastName, town); return 0; }