home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 10: University / CDAT10.iso / TUTORIALES / CursoC / ejemplos / continue.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-26  |  279 b   |  21 lines

  1. /* Uso de la sentencia CONTINUE. */
  2.  
  3. #include <stdio.h>
  4.  
  5. main() /* Escribe del 1 al 100 menos el 25 */
  6. {
  7.    int numero=1;
  8.    while(numero<=100)
  9.    {
  10.       if (numero==25)
  11.       {
  12.      numero++;
  13.      continue;
  14.       }
  15.    printf("%d\n",numero);
  16.    numero++;
  17.    }
  18. }
  19.  
  20.  
  21.