/* Author Name: Baljeet S. Malhotra */
/* Student ID:  XXXXXXXXXXX         */ 
/* Program Name: for loop example 2 */
/* Program Description: Example     */
/* Date of creation: 14th Oct. 2004 */
/* Lab section: XX                  */

#include <iostream>

int main() {

 int tempInc = 10;

 for (int i = 0; i < tempInc; i++)
 {
  tempInc = tempInc - 1;  
  cout << "Value of tempInc is : " << tempInc << endl;

  if(i == 1) 
  {
   break;
   cout << "I'm quitting"; 
  } 
}
return 0;
}

