/* This is an example of break and continue statements */
main()
{
int xx;

   for(xx = 5;xx < 15;xx = xx + 1){
      if (xx == 8)
         break;
      printf("In the break loop, xx is now %d\n",xx);
   }

   for(xx = 5;xx < 15;xx = xx + 1){
      if (xx == 8)
         continue;
      printf("In the continue loop, xx is now %d\n",xx);
   }
}
BREAKCON.C
Κατεβάστε το πρόγραμμα στον υπολογιστή σας