+ 5
How to raise a number to an exponent in C
it seems x **y doesnt work in C, is there a way to do it?
6 Respostas
+ 10
Nyakotey try it this way -->
pow(x,y). This means x raised to the power of y. Don't forget to #include <math.h>
*Edited*
+ 9
Nyakotey you're welcome...Happy coding..😉😉😉
+ 7
*Asterisk* that is true...Thanks for the correction..
+ 3
thank you
+ 3
💫iYkE4LIFE💫 and Nyakotey it #include <math.h>
he can use the pow(x,y); function.
+ 2
Rachid Bhf Life Please stop spamming.
https://www.sololearn.com/discuss/1316935/?ref=app