/*_________________________________________________________ Libro: EMPEZAR DE CERO A PROGRAMAR EN LENGUAJE C Ejemplo 13.23: Números enteros divisibles entre 17 ó 21 (Alternativa simple en bucle para) Web del Autor: http://www.carlospes.com _________________________________________________________*/ #include int main() { int numero; printf( "\n " ); for ( numero = 1 ; numero <= 100 ; numero++ ) { /* Inicio del anidamiento */ if ( numero % 17 == 0 || numero % 21 == 0 ) printf( "%d ", numero ); /* Fin del anidamiento */ } return 0; }