// forloop_01.cpp - your first C++ for loop
#include <iostream>

int main() {
  using namespace std;

  int i;

  cout << "See how a for loops can execute a line of code 5 times.\n\n";

  // INITIALZE, TEST, UPDATE (statements separated by semicolons)
  // The line of code immediately following the for loop will be 
  // executed as long as the TEST statement is true.
  for(i=0;i<5;i++)
    cout << "Print out a line of text.\n";
 
  cout << "\nThats it.\n";

}
