home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / c / other / learn / cont.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-07  |  255 b   |  16 lines

  1. /* CONT.C: Demonstrate continue statement. */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7.    int count;
  8.    for( count = 0; count < 10; count++ )
  9.    {
  10.       if( count > 3 )
  11.      continue;
  12.       printf( "count = %d\n", count );
  13.    }
  14.    printf( "Done!\n" );
  15. }
  16.