// Messages.cpp (c) Kari Laitinen // http://www.naturalprogramming.com/ // 1998-??-?? File created. // 2013-11-07 Last modification. #include using namespace std ; void print_message() { cout << "\n This is function named \"print_message()\"." ; cout << "\n Functions usually contain many statements. " ; cout << "\n Let us now return to the calling program." ; } int main() { cout << "\n THIS IS THE FIRST STATEMENT IN FUNCTION \"main\"." ; print_message() ; cout << "\n THIS IS BETWEEN TWO FUNCTION CALLS." ; print_message() ; cout << "\n END OF FUNCTION \"main\".\n" ; }