Complete listing of program Sequence01.cpp


/*File:  Sequence01.cpp

This is a very simple C++ program.  It 
illustrates the sequence structure.  It does not
include a decision/selection structure.  It
also does not include a loop/iteration 

This program displays the following text on the 

Hello Viet Nam
Hello Iraq
Hello America
Hello World


#include <iostream>
using namespace std;

int main(){//Global main function.
  //This main function executes a sequence of
  // statements and then terminates.  The
  // statements in the sequence do not
  // include decisions or loops.
  cout << "Hello Viet Nam\n";
  cout << "Hello Iraq\n";
  cout << "Hello America\n";
  cout << "Hello World\n";
  return 0;
}//end main function

Listing 1