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:
but, I keep getting an error that says 'sqrt' cannot be used as a function. I would appreciate any suggestions. Thank you.