I am having problems using the square root function in my program. I have included <cmath> outside of main and my formula using the square root looks like this:

area=sqrt(s*(s-a)*(s-b)*(s-c));

but, I keep getting an error that says 'sqrt' cannot be used as a function. I would appreciate any suggestions. Thank you.