/* File: fig05_13.cpp */
#include <iostream>

int main(){
 for(int ct = 1;ct <= 10;ct++){
  if(ct == 5) break;	// break out the loop if x is 5
  std::cout << ct << " ";
 };
 std::cout << std::endl;
 return 0;
};

