Hi friends, what's the power function in c++ and how to use it?!!?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hi friends, what's the power function in c++ and how to use it?!!?!

29th Nov 2016, 6:47 PM
Mj Kiani
Mj Kiani - avatar
2 Answers
+ 4
Returns a specified number raised to the specified power. If you want more information you should read these page (I usually look for info here): https://msdn.microsoft.com/en-us/library/system.math.pow(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1 Hope it helps 😊
29th Nov 2016, 7:47 PM
C.E.
C.E. - avatar
+ 1
Math.pow (no1, no 2) is the function for power in C++
29th Nov 2016, 7:38 PM
Software & Graphics Point AFG
Software & Graphics Point AFG - avatar