#759. T2-3-E3 小数次幂
T2-3-E3 小数次幂
说明
计算 3.6 的 4.3 次幂,并输出结果。输入格式
无输出格式
3.6 的 4.3 次幂的结果3.6 raised to the power of 4.3 is 246.661
提示
- 这段代码定义了两个浮点数 base 和 exponent,分别表示底数和指数。- 使用 pow(base, exponent) 函数计算 base 的 exponent 次幂,结果存储在 result 中。
3.6 raised to the power of 4.3 is 246.661