#include #include using namespace std; void chorus(); //The function declaration announces the name of the function. int main() { cout << "There's a man who leads a life of danger\n" << "To everyone he meets he stays a stranger\n" << "With every move he makes, another chance he takes\n" << "Odds are he won't live to see tomorrow.\n\n"; chorus(); //Call (i.e., execute) the function. cout << "Beware of pretty faces that you find\n" << "A pretty face can hide an evil mind\n" << "Be careful what you say, or you'll give yourself away\n" << "Odds are you won't live to see tomorrow.\n\n"; chorus(); //guitar solo chorus(); cout << "Swinging on the Riviera one day\n" << "Lying in a Bombay alley the next day\n" << "Oh no, uou let the wrong words slip while kissing persuasive lips\n" << "Odds are you won't live to see tomorrow.\n\n"; chorus(); cout << "Secret Agent Man.\n"; return EXIT_SUCCESS; } void chorus() //The function definition creates the function. { cout << "\tSecret Agent Man, Secret Agent Man\n" << "\tThey've given you a number, and taken 'way your name.\n\n"; }