public static int powNM(int n,int m){
if(m == 1)
return n;
else
return n*powNM(n,m-1);
//Math.pow(m,n);
}
JAVA 乘方
猜你喜欢
转载自blog.csdn.net/weixin_44895008/article/details/89880193
今日推荐
周排行