C#中用什么符号计算乘方?如X的Y次方.
如X的Y次方怎么表示?
人气:399 ℃ 时间:2020-06-19 09:34:31
解答
Math.Pow(底,指数) 例如3的5次方表示为:Math.Pow(3,5)
具体应用:
double a;
a=3*Math.Pow(2,3);
则运算结果为 a=24
祝你成功~~O(∩_∩)O~
推荐
猜你喜欢
- 一个自然数在1000到2000之间,且被3除余1,被5除余2,被7除余3,求这个数
- 选择并说明理由the rest of the lecture (was ,were)dull
- 用“望”字扩词,填在括号中.
- During an earthquake ,the great part of damage mad loss of loss life have been due to collapse of buildings and other ef
- 一道英语短文填空题
- 数学问题(找规律填数)
- 一列火车质量是1.5×10六次方千克,以180千米/时的速度在平直的轨道上匀速行驶,如果列车受到的阻力是它自
- 1500字的感恩心得体会,感恩父母的