0
can anyone tell my prooblem in thatc code?
5 Answers
+ 1
With ^, did you mean to exponentiate something? Because ^ is a binary operator. Include the <math.h> header, and use the pow(num1, num2) function. Example:
pow(4, 2); // = 16
+ 1
ok thanks man
+ 1
it is coming 0 but shold come 1.732 when given the value of 2 to each side
+ 1
solved