hey, i'm curious as to how you would go about passing a variable to the sqrt() function to get the square root of it. i've found that you can directly input a number to it, but when i try something like:i get:Code:square_root = sqrt(user_number);
[tim@shibby documents]$ gcc -o SqRt sqrt.c
/tmp/ccuCIkhZ.o(.text+0x82): In function `main':
: undefined reference to `sqrt'
collect2: ld returned 1 exit status
so how can i do this? is there a better way? thanks