Listing 3

main()
{
   double x;
   x = sqrt(2.0);
   printf("The square root of 2 is %f\n", x);
}