/*_______________________________________________________________

   Libro: EMPEZAR DE CERO A PROGRAMAR EN LENGUAJE C
   Ejercicio Resuelto 13.7: Cuadrados de los números del 1 al 10
                            (Bucle para)
                            
   Web del Autor: http://www.carlospes.com
  _______________________________________________________________*/

#include <math.h>
#include <stdio.h>

int main()
{
   int numero;

   printf( "\n   " );

   for ( numero = 1 ; numero <= 10 ; numero++ )
   {
      printf( "%.f ", pow( numero, 2 ) );
   }

   return 0;
}