0
Is there any way of doing Cube root in C++??
Cube root of any number...May or may not be fractional cube root..
6 ответов
+ 1
pow(num, 1/3)
+ 1
I guess because of integer arithmetic 1/3 = 0 Try 1/3.0
+ 1
Prince Jhawar pow() is the power function in the math.h library. The parameters are pow(base, exponent). It raises 'base' to the 'exponent' power.
0
I tried...pow(27,(1/3))...its giving 1..dont know why??!!
0
Yeah now it gives ri8...thanks bro!!👍👍
0
What is meaning of pow