c++ how to do exponent plus exponent code example Example: pow in cpp header file #include<cmath> //header file for pow fun pow(a,b) // a^b