c++programming

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.

Squareroot and squares
sqrt(x)
where x can be a double or float.
Example:
double x, out;
...
out=sqrt(x); // squareroot
...
out=x*x; // square
As far as I remember, x^2 for xsquared 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