what is the syntax to find square root of a number
Answers
Answered by
0
Answer:
sqrt(double(x));
Explanation:
To find the square root of int , float or long double data types, you can explicitly convert the type to double using cast operator. int x = 0; double result; result = sqrt(double(x));
Similar questions