The C++ code given below should print the value of a number to a power. The number and power are entered by the user. code example
Example: how to write something in power of a number in c++
#include <iostream>
#include <cmath>
using namespace std;
int main(){
cout<<pow(10,2);
return 0;
}