+ 2

How to raise a user inputted arguement to exponential power?

23rd Jun 2018, 8:23 AM
Kanishk Mewal
Kanishk Mewal - avatar
2 Respuestas
+ 4
#include <cmath> // Defines pow. double result = pow(5.0, 3.0); //5^3=125
23rd Jun 2018, 12:43 PM
John Wells
John Wells - avatar
+ 2
thx buddy
23rd Jun 2018, 2:25 PM
Kanishk Mewal
Kanishk Mewal - avatar