/* Program 1, How to write a C++ Program Dan Bennett September, 2015 This program will print a joke on the screen. Algorithm: Print the question Print a space Print the answer Joke Source: http://homepage.eircom.net/~cronews/elep/elep.html Collaborators: The CSCI 130 class, MWF and TR */ #include using namespace std; int main() { // print a leading blank cout << endl; // ask the question cout << "Why did the elephnt cross the road?" << endl; // print a few blank lines cout << endl << endl; // print the punch line cout << "The chicken was off that day! " << endl; // print another blank line so things look good. cout << endl; return 0; }