Sqrt of a floating point number : <p>Write a C program that asks the user to enter a floating point number from the keyboard and then prints out the square root of that number is the question. What am I doing wrong?</p>

<pre><code>#include &lt;stdio.h&gt;
#include &lt;math.h&gt;

int main(int argc, char *argv[])
{
double x, result;
printf("Enter a positive number.\n");
scanf("&amp;f", &amp;x);
result = sqrt(x);
printf("The square root of %f is %f.\n", x, result); 
return 0;
}
</code></pre>
