Problem
Calculate x raised to the power n.
int x = 2, n = 5;
long long result = 1;
for(int i = 0; i < n; i++){
result = result * x;
}
cout << result; // 32
// STL: cout << pow(2, 5);