Posted by on Tuesday, April 10, 2012 at 6:19pm.
Please specify what is your question or what you have done to start.
I need to know how to write the c++ instruction for Square Root.
Square-root and squares
sqrt(x)
where x can be a double or float.
Example:
double x, out;
...
out=sqrt(x); // square-root
...
out=x*x; // square
As far as I remember, x^2 for x-squared does not work in C++. There is math function called pow(x,2), but x*x is much simpler.
Hi, I am 12 years experienced tutor and assignment helper for computer science. I am ready to get this assignment done for you but you have to pay fee for it.For further discussion email me at hardeepsp ( at the rate) gmail (dot)com or contact me in skype or gtalk. my skype is hardeep_sp and gtalk is hardeepsp Thanks