110,534
社区成员
发帖
与我相关
我的任务
分享
c=Math.pow(10,2); //c=100
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { double a=2, b=3, c; c = Math.Pow(a, b);//Math.Pow()就是用来计算乘方、立方、N次方 Console.WriteLine(c); } }}