home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c025 / 1.ddi / CONTINUE.C < prev    next >
Encoding:
Text File  |  1985-01-22  |  180 b   |  13 lines

  1. main()    /* continue.c -- illustrates use of continue; */
  2. {
  3.  
  4. int i;
  5.  
  6. for(i = 1; i<6; i++){
  7.     if(i == 3)
  8.     continue;
  9.     printf("%d ",i);
  10.     }
  11. /* correct answer is 1 2 4 5 */
  12. }
  13.