#include <iostream>
#include <cmath>

int main() {
    // 计算一个数的指定次幂
    double base = 2.0;
    double exponent = 3.0;
    double result = pow(base, exponent);

    // 输出结果
    std::cout << base << " raised to the power of " << exponent << " is: " << result << std::endl;

    return 0;
}