#include <iostream.h>

main()
{ int i=0;
  const int limit = 10;

   while (i < limit) {
 
     cout << i << " ";
     i++;      // i=i+1
   }

   cout << endl << i << endl;
}

