What's new here?
/*File: Sequence01.cpp ************************************************/ #include <iostream> using namespace std; int main(){//Global main function. cout << "Hello Viet Nam\n"; cout << "Hello Iraq\n"; cout << "Hello America\n"; cout << "Hello World\n"; return 0; }//end main function Listing 1 |
You learned about all of the programming elements contained in Listing 1 in Lesson 105.
The only thing new about this program is the sequential organizational structure.
The sequential organizational structure is trivial.
It consists simply of a sequence of four statements that cause four lines of text to be displayed on the computer screen.