'pow' was not declared in this scope in cpp

technical talkiess
0

 ERROR!

g++ /tmp/jNzlbZYJDY.cpp

/tmp/jNzlbZYJDY.cpp: In function 'int main()':

/tmp/jNzlbZYJDY.cpp:12:23: error: 'pow' was not declared in this scope

   12 |       answer = (bit * pow(10,i)) + answer;

      |                       ^~~


Solution :- 

#include<math.h>
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)