develop c+ application to compute the exponentation
Answers
Answered by
1
Answer:
C++ Program to calculate power of a number using pow function
- using namespace std;
- int main() { int base, exp ;
- cout << "Enter base and exponent\n" ; cin >> base >> exp ;
- cout << base << "^" << exp << " = " << pow (base, exp ); return 0; }
Similar questions