/*HW: Using additional statements, make the
following loop stop at printing 10. The current
below code prints till 11.                      */

#include <stdio.h>

main()
{
   int counter = 1;
   
   do {

      if (counter==8) break;

      printf("%d  ", counter);

   } while (counter++ <= 10);

   return 0;
}

