home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c021 / 7.img / EXAMPLES.ZIP / INTRO21.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-04  |  245 b   |  17 lines

  1. /* INTRO21.C--Example from Chapter 4 of Getting Started */
  2.  
  3. #include <stdio.h>
  4.  
  5. int main()
  6. {
  7.    int num = 0;
  8.    while (num++ <= 10)
  9.    {
  10.       if (num % 2 != 0)
  11.          continue;
  12.       printf("%d\n", num);
  13.    }
  14.  
  15.    return 0;
  16. }
  17.