#include <stdio.h>

int main( )
{
   float a = 4;
   float b;

   b = square(a); 

   printf("Square of %f = %f\n", a, b);
}

double square(double x)
{
   return x*x;
}