+ 2
How can i use square root operand
3 Respuestas
+ 17
Adding to Squidy's answer.
E.g.
#include <cmath>
// codes
cout << sqrt(4);
// outputs 2
+ 5
There is no square root operator in C++, but you can use the std::sqrt function declared in the cmath header.
0
hmm thanks