pow()Prototype: double pow(double b, double p);Header File: math.h (C) or cmath (C++) Explanation: This function raises b to the p power. Example: //Example will computer 4 to the 5th #include <cmath> #include <iostream> int main() { cout<<"4 to the 5th power is: "<<pow(4, 5); }Other Functions |