// for1.cc
// A basic example of a for loop
// Play with it!  Use different stop conditions and increments!

#include <iostream>

// You can declare that you will alway use the std versions of programs
// This can reduce your typing in programs (not in this case!)
using std::cout;
using std::endl;

int main()
{
   for(int i = 0; i <= 10; i = i + 1)
      cout << "i = " << i << endl;
   
   return 0;
}